andyhill
uniGUI Subscriber-
Posts
1257 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Events
Everything posted by andyhill
-
Thank you Farshad, it is the first time that this has happened to me - now wiser
-
Bare bones D12 example Project1.zip
-
When Winapi.Windows unit is added to ServerModule (in order to decode LOCALE_SYSTEM_DEFAULT required by GetLocaleFormatSettings) All reference to Bitmaps in Vcl.Graphics unit no longer works procedure CustomProc(Sender: TObject); var bmp: TBitmap; begin bmp:= TBitmap.Create; ERROR UnDeclared Identifier Create Remove Winapi.Windows unit and rem out GetLocaleFormatSettings and all works normally ? unit ServerModule; interface uses Classes, SysUtils, StrUtils, ShlObj, ActiveX, Vcl.Graphics, Vcl.Imaging.jpeg, {Winapi.Windows,} DateUtils, // uniGUIServer, uniGUIMainModule, uniGUIApplication, uniGUITypes, uniGUISessionManager, // IdBaseComponent, IdAntiFreezeBase, IdAntiFreeze, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdMessage, idAttachmentFile, IdICMPClient, IdHTTP, uIdCustomHTTPServer, // IdSASLAnonymous, IdSASLDigest, IdSASLLogin, IdSASLOTP, IdSASL_CRAM_MD5, IdSASLPlain, IdSASL_CRAM_SHA1, IdSASLSKey, IdUserPassProvider ;
-
I use the following code in ServerModule that worked fine before D12, if I include the Winapi.Windows unit then all reference to TBitmap (Vcl.Graphics) within the ServerModule fails, please advise - thanks in advance. initialization RegisterServerModuleClass(TUniServerModule); // (* var Fmt: TFormatSettings; GetLocaleFormatSettings(LOCALE_SYSTEM_DEFAULT, Fmt); // Winapi.Windows Fmt.ShortDateFormat:= 'dd/mm/yyyy'; Fmt.DateSeparator:= '/'; Fmt.DecimalSeparator:= '.'; *) // end.
-
UniGUI 1971 Delphi 11.3 UnimTreeMenu Align:= alRight Anchors:= [akTop,akRight,akBottom] Width:= 120; FILLS THE ENTIRE FORM FIX REQUIRED A COMPLETE CHROME CLEAR HISTORY / CACHE - Now Working
-
Farshad, I did write to you personally about offering a Layout Example but you never responded ?
-
Yes, point learned the hard way
-
FOUND IT IN CHROME EXTENSIONS - not sure how it got their - now removed
-
I have searched my system based on https://www.3cx.com/blog/docs/uninstall-check/ There is no visible trace of 3cx.
-
There are over 6516 css files on my PC. Grep searching in every css file fails to show *3cx* Grep searching in every js file fails to show *3cx* Windows itself seems to have been programmed (by 3cx I presume but I have no 3cx on my system) that any 10 digit phone number is to be automatically linked to 3cx Phone Call servers ??? 2019-2020 tries to call 3cx 2019/2020 tries to call 3cx 2019>2020 is not tampered with therefore no crash. Farshad, how do we keep our TUniComboBox contents from being hijacked by Windows ?
-
Farshad, I have written this many ways - same crash. What I have just noticed is the contents of the TUniComboBox which only has text line entries by me are displayed in underlined with flyout hint to Link to 3CX something we are not using. How do I stop 3CX CSS from inhabiting my TUniComboBox ?
-
I added the ajax code to your skeleton sample and it worked so it obviously has to do with timing issues. I will need time to strip my project down and identify the timing/synchronisation problems - thank you for your input.
-
Thank you but I am not actually using a Button or an Editor, I am doing it via a FORM AjaxEvent inside a mLoginForm.
-
Sherzod, the event name was left out in my post for clarity. It is normal programming that only has issues (not working) with Touch Login Form.
-
In my CalcFields Event I determine the Count value and then I want to format the string response to display in HTML but it fails - please advise; if Odd(Count) = True then begin TimeStr:= '<p style="color:blue;">'+TimeStr+'</p>'; end else begin TimeStr:= '<p style="color:red;">'+TimeStr+'</p>'; end;
-
Exhaustive testing shows TfLogin = class(TUnimLoginForm) ALL localStorage.setItem and localStorage.removeItem FAILS TfMain = class(TUnimForm) ALL localStorage.setItem and localStorage.removeItem APPEARS TO WORK
-
UnimLoginFormAjaxEvent localStorage.setItem WORKS localStorage.removeItem DOES NOT WORK
-
I am running this code in a Login Form.
-
Key set and easily seen in chrome development tools, already viewed all posts on localstorage. Mobile (touch) fails to remove ???