Jump to content

Dirk Janssens

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by Dirk Janssens

  1. Dirk Janssens

    livebindings without livebindings designer , code only

    A little late, but for others with the same problem... I found (one of the possible) causes : In the uses clause Fmx.Bind.Grid was missing. No errors if it's not there, just not working (!) kind regards Dirk Janssens.
  2. Hello, I try to translate the captions of the buttons in the MessageDlg in Delphi 10.4, VCL. If I add the unit consts.pas to my project, wich contains 1 line of code :" Messagedlg('Hoi', mtconfirmation, [mbYes.mbNo],0) " , the the captions of the unit are used. (Ja,Nee) In a big project ( > 100 units) I also add the unit to the project ( in the project directory) , but the Dialogs ignore the translations. It seems lile they keep using the vcl.consts unit, What do I have to do, to force my project to only use the translated Consts,pas in the project-folder. I tried editing the unit C:\Program Files (x86)\Embarcadero\Studio\21.0\source\vcl\VCL.Consts.pas but i get errors when I save it (unable to crate backup), and I prefer not to edit the original Delphi Units. Any suggestions are very welcome... kind regards, Dirk Janssens.
  3. Dirk Janssens

    Using translations in unit Consts with Delphi 10.4 VCL

    I tried it ,but nothing happens. I suppose I have to execute the initialization-part? But the line _ChangeCaptions(@DebugHook, @Application); raises error : [dcc32 Error] slovensky.pas(84): E2010 Incompatible types: 'TPointerList' and 'Pointer' Can you tell me how and where I need to call the _ChangeCaptions ?
  4. Dirk Janssens

    Using translations in unit Consts with Delphi 10.4 VCL

    Thank you all for responding. I will give it a try !
  5. Dirk Janssens

    Using translations in unit Consts with Delphi 10.4 VCL

    That is how it works for my simpel project, but for the more complex one I see not why it does not work. Can it be that the cause is that I name the unit "Consts.pas", and not "VCL.consts.pas" ?
  6. Dirk Janssens

    Using translations in unit Consts with Delphi 10.4 VCL

    Thank you very much, but I do not understand how to use this. If I add it to my projrect, the messageDialogs automatically use this unit for the captions ? kind regards, Dirk
  7. Dirk Janssens

    Target 64bit Delphi 10.4

    Hello, Delphi 10.4, a new VCL project. Add a TDBGrid and try to compile to 64bit Windows gives the error : [dcc64 Fatal Error] Unit1.pas(7): F2613 Unit 'Vcl.DBCtrls' not found. Is there something that needs to be done before building 64bit applications ? kind regards, Dirk Janssens.
×