Jump to content

Lajos Juhász

Members
  • Content Count

    977
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Secondary shortcuts and international users.

    According to the documentation the object property of the stringlist is used to handle the shortcuts not the text version: TCustomShortCutList is a descendant of TStringList, which manages a collection of strings. As such, TCustomShortCutList adds, deletes, and searches for shortcuts using their text representation. TCustomShortCutList stores shortcuts that correspond to a text representations as values of the Objects property for these strings. Do not change values of the Objects property, or the shortcut list will not operate correctly.
  2. Lajos Juhász

    Secondary shortcuts and international users.

    In the official documentation there is no mention that it would be a language specific shortcut: Description Stores shortcuts (in addition to ShortCut) for triggering the action. Actions can execute in response to multiple shortcut key combinations. SecondaryShortCuts lists all the shortcut key combinations (other than the one specified by the ShortCut property) that can trigger the action. This lets you provide additional, secondary shortcuts. When the user types one of the key combinations listed in SecondaryShortCuts, the action's Execute method is called.
  3. Lajos Juhász

    Delphi 12.2 Patch 1

    In that case I am the unlucky one. Have had no issues using Delphi 12.2 update 1 on Windows 11.
  4. Lajos Juhász

    Simole threads providing progress info

    I would recommend to use only that threading library not the others you will save a lot of time. A more serious answer is that you should give us more details. Anyo of those can create a thread which library to choose really depends on the requirements.
  5. Lajos Juhász

    Do you need an ARM64 compiler for Windows?

    I believed it is a different aproach. They give to us something that compiles and is working. Then based on user review and bug reports they are accepting suggestions how to make it work. If everything else fail they buy some source code to make things working again.
  6. Lajos Juhász

    $FFFF can both be const and not ?

    I have no problem to compile it: const // The highlight colors here are defined twice so the compiler doesn't complain. YELLOW = $00BBFF; BLUE = $F0CF89; HIGHLIGHT_COLORS: array[0..1] of TColor = (YELLOW, BLUE); You can also compile: const // The highlight colors here are defined twice so the compiler doesn't complain. YELLOW = TColor($00BBFF); BLUE = TColor($F0CF89); HIGHLIGHT_COLORS: array[0..1] of TColor = (YELLOW, BLUE);
  7. Lajos Juhász

    Delphi 12.2 Patch 1

    Try without GExperts.
  8. Lajos Juhász

    Copy file to temp folder fails

    No there is no way if the file is locked it is not going to be deleted. You should first try to add: If FileExists(lTempFolderFullFileName) then if not DeleteFile(lTempFolderFullFileName ) then SendMadBugReport(Self, 'CopyFileToTempFolder(), delete failed'); // <<<<<<<< HERE IT FAILS!!!!!!! Why do you have an empty try ... except block? That is very dangerous at least you should send a bug report with the exception. Ignoring an exception can lead to other bugs in a program.
  9. Lajos Juhász

    Copy file to temp folder fails

    You should check GetLastError to see the reason why it fails. https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-deletefile One of the possible reason is that the file doesn't exists and the other is that the file is in use by other application.
  10. Lajos Juhász

    Which ODBC driver version is used by FireDac

    TFDPhysMSSQLDriverLink has an ODBCDriver property, I have no server to test it.
  11. Lajos Juhász

    Which ODBC driver version is used by FireDac

    You can try this: https://stackoverflow.com/questions/42403351/how-can-i-find-the-ms-access-version-and-or-dll-name-used-for-a-firedac-connecti
  12. Lajos Juhász

    Need help please..

    A quick search returned instead of PToken_User it is definied as PTokenUser in Winapi,Windows.
  13. Lajos Juhász

    What is Shift+F2 supposed to do?

    I have tested F2 or shift+f2 will focus the Object inspector in Form Designer for Delphi XE5, Delphi 11.2 and Delphi 12.2 patch 1.
  14. The only limitation I can think of that will most probably be a big no for you is the revenue clause for the companies that want to install the community edition (https://www.embarcadero.com/products/cbuilder/starter): Licensed for use until your individual revenue from C++Builder applications or company revenue reaches $5,000 US or your development team expands to more than 5 developers It is meant only for a start-up companies that don't have a product yet. I safer choice would be to test your code base using the trial version.
  15. Lajos Juhász

    Help with TFDBatchMove fields

    I have never tried batchmove. A simple optimization would be not to use AItem.DestField.FieldName in that event, instead you could try AItem.Index or AItem.Destfield.
  16. Lajos Juhász

    ​LOST DEBUGGER ON EDIT ERROR timeout trigger.

    This option is exactly do not show the error in the IDE. The exception is going to work as expected only you do not get the dialog while debugging.
  17. Lajos Juhász

    CCR.Exif with lots of errors.

    It is easier if you paste a text instead a picture. they have changed the signature of the Realloc method: function TMemoryStream.Realloc(var NewCapacity: NativeInt): Pointer;
  18. You should watch more youtube there jura is already fired by ClickUp.
  19. Lajos Juhász

    Packages and Package structure

    I have had a problem with Delphi 12.2 when I have edited my package. After that I was unable to compile it due to access violation during compilation. The only solution was to delete all the dcu, bpl and dcp files. After that I was able to compile the project group. Of course, I cannot reproduce it and did not took any screenshots.
  20. Lajos Juhász

    Packages and Package structure

    There is no problem while the source can be compiled. I have such a package. If there is a problem and you can not compile it those files that contains components from the package can be edited only using extarnal editor (notped is my choice).
  21. Lajos Juhász

    "Divided by zero" exception

    because it was changed to work like in other programming languages? https://docwiki.embarcadero.com/Libraries/Athens/en/System.Math.SetExceptionMask
  22. Lajos Juhász

    D12 TItemClickEvent undeclared identifier

    For me it is working: var eItemClickEvent: TCustomListBox.TItemClickEvent; and fails at: eItemClickEvent := aListBox.OnClick ; since the OnClick and OnItemClick has different signatures. For OnClick it should be: var eOnClickEvent : TNotifyEvent; eOnClickEvent:=aListBox.OnClick;
  23. Lajos Juhász

    D12 TItemClickEvent undeclared identifier

    That is only possible if you have not included FMX.ListBox into the uses clause.
  24. Lajos Juhász

    ICS SSL under Linux x64

    Yes it is, PAnsiChar is a zero terminated string....
×