Jump to content

skyzoframe[hun]

Members
  • Content Count

    66
  • Joined

  • Last visited

Community Reputation

3 Neutral

About skyzoframe[hun]

  • Birthday 11/07/1984

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

1019 profile views
  1. skyzoframe[hun]

    Good book about FireDAC

    https://www.packtpub.com/
  2. skyzoframe[hun]

    client pc database connection problem with interbase server

    I use Interbase, and I require these files on the client side. Install if not installed already.: vcredist_x64.exe or vcredist_x86.exe The main folder of the YourPrg.exe ibclient64.dll or gds32.dll.
  3. skyzoframe[hun]

    Query result to dynamic array

    Yes , you are right.
  4. skyzoframe[hun]

    Query result to dynamic array

    I mean, before you put anything into the array, you have to clear the record, then fill the record. If you don't do so, then there are the opportunity to create redundancy.
  5. skyzoframe[hun]

    Query result to dynamic array

    In these case, maybe you need one more row. LMyRecordWithValues := default (TMyRecordWithValues);
  6. skyzoframe[hun]

    Query result to dynamic array

    The best solution for converting the query into an array was developed by Pawel Glowacki in Chapter 9 of the Expert Delphi book. I use the same technique all the time, except I do everything at runtime. ToDoListSQLite.7z
  7. skyzoframe[hun]

    write text on image with specific position fmx

    @Rollo62 Do you have any solution for the problem? https://docwiki.embarcadero.com/CodeExamples/Sydney/en/FMXTCanvasFillFunctions_(Delphi)
  8. skyzoframe[hun]

    Choose a Folder dialog

    Now it has. https://docwiki.embarcadero.com/CodeExamples/Alexandria/en/SelectDirectory_(Delphi)
  9. skyzoframe[hun]

    The best way to handle undo and redo.

    The first step is solved, by using the update flag, creating a negative and positive ID with one trigger when inserting anything into the database. // interbase database // before insert AS declare variable COUNT_ID INTEGER;declare variable I INTEGER;/**/ begin COUNT_ID=0; i=0; new.TIME_CREATE=Current_TimeStamp; /* UPDATE_KEY -> default False! */ if (new.UPDATE_KEY=False) then begin /*when create*/ if (not exists( select * from MGR_SZABASZAT where ID>-1)) then begin new.ID=0; end else begin select count(*) from MGR_SZABASZAT where ID>-1 into :COUNT_ID; i=:COUNT_ID; WHILE (i>0) DO begin if (not exists (select ID from MGR_SZABASZAT where ID=:i)) then begin new.ID=:i; i=0; end else i=i-1; end /* WHILE (i>0) DO*/ end /*if (not exists( select * from MGR_SZABASZAT)) then*/ end else begin /*update*/ if (not exists( select * from MGR_SZABASZAT where ID<0)) then begin new.ID=-1; end else begin select count(*) from MGR_SZABASZAT where ID<0 into :COUNT_ID; i=:COUNT_ID+1; i=i*-1; WHILE (i<0) DO begin if (not exists (select ID from MGR_SZABASZAT where ID=:i)) then begin new.ID=:i; i=0; end else i=i+1; end /* WHILE (i<0) DO*/ end /*if (not exists( select * from MGR_SZABASZAT)) then*/ end end
  10. Also, select some range and press "Ctrl+/" , it gives "//" to each selected line. Press again, and will remove it.
  11. I found these.: https://www.tweaking4all.com/software-development/software-delphi/delphi-ide-code-editor-keyboard-shortcuts/ https://leanpub.com/codefasterindelphi
  12. I mean in delphi. for example.. ctrl + shift + c , on procedure or function yougot there, what you wrote there. anyway alt+f4 are the best all the time :)
×