Jump to content

andyhill

uniGUI Subscriber
  • Posts

    1262
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by andyhill

  1. UniDBNavigator1 is not the Built-In one but an externally added one, I need the Built-In PaginBar that has been modified by me in FormCreate Grid.UniEvents

    MyScript:= 'pagingBar.afterCreate=function pagingBar.afterCreate(sender)'#13#10 +
                       '{'#13#10 +
                       I add all of the new Buttons and DatePickers etc. here, all good, they show and work perfectly when paged

  2. Check the id name and the for=id name in the <label image above

    I have many panels, many HTMLFrames, a grid, and a hidden panel with 3 editors.

    Removing the hidden panel and removing reference to the editors makes no difference.

    Cannot slim down to shell (use third party ElevateDB and HtmlLib) which connects grids etc..

    Sherzod, I believe it requires a remote session to resolve.

     

  3. 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
      ;

     

  4. 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.

  5. 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 ?

×
×
  • Create New...