Jump to content

Uwe Raabe

Members
  • Content Count

    2750
  • Joined

  • Last visited

  • Days Won

    162

Everything posted by Uwe Raabe

  1. I wonder if OnSelectItem alone works when selection is done by Ctrl-Click or Ctrl-<cursor keys>. In one of my applications I had to wire OnDataStateChange, too. Without that I missed some notifications to react on selection changes.
  2. With a high enough reputation you have some privileges like elected moderators have.
  3. Things are a bit more difficult when MultiSelect is allowed. That makes it even more necessary to check the Selected list for synching the ListView state with the external one.
  4. Uwe Raabe

    delphi 10.4.2 invalid compiler directive

    A Unit Alias consists of a name-value pair like WinTypes=Winapi.Windows. It is used to map old unit names to the newer ones. A single folder name doesn't match that requirement.
  5. Uwe Raabe

    delphi 10.4.2 invalid compiler directive

    This looks like a bad Unit Alias entry in the Debug configuration. Open the Project options and select Delphi Compiler. Check the Unit Alias entries for the different build configurations. You may spot the path name somewhere, which may be entered there instead of into the Search Path entry.
  6. @Attila Kovacs All Windows versions from Windows NT up to the current have Win32Platform = VER_PLATFORM_WIN32_NT. Other possible values are Win32s and Windows 95.
  7. Uwe Raabe

    Form Creation

    A modal Splash form would probably block the startup sequence.
  8. Uwe Raabe

    Form Creation

    Looks like a splash or login form.
  9. Uwe Raabe

    Find String in TstringList

    Can you break it down to a minimal code sample?
  10. Uwe Raabe

    NormalizedLocaleName??

    The xmldoc says:
  11. Uwe Raabe

    Community license

    It is my understanding that Free = $0, so basically you simply sell it for $0 until your revenue reaches $5,000. Note that this includes any donations, even if the app is free. Also any paid support or training you are giving around your apps is probably counted for that limit. As the FAQ is not a legal document I add the respective chapter from the license here: Anyway, if you want to make sure, you should better ask Embarcadero directly.
  12. The hack with the @ operator works only in Win32, but Win64 has different calling conventions. Use a global function for the Sort method (matching the signature) instead of a local one (which does not).
  13. Uwe Raabe

    Convert line endings on paste?

    Cannot try in the moment, but perhaps MultiPaste can act as a workaround. Nevertheless, it would make for a good feature request.
  14. Uwe Raabe

    Update to 10.4.2

    You should always be able to install versions you have licenses for and thus installing the previous version should pick up the valid license on your system. If you think you are entitled for that update, because your subscription was still active when it was released, please contact Embarcadero to get that straight.
  15. Uwe Raabe

    Update to 10.4.2

    As long as you were under active subscription when the update was released.
  16. Uwe Raabe

    Sorting two lists in step?

    Even StackOverflow has solutions for that: TDictionary save to file Delphi Dictionary Save/Load. TDictionary not serializable?
  17. Uwe Raabe

    TRESTClient in a Thread

    So you should check this hint in the docs: In case you didn't change The SynchronizedEvents property of the TRESTRequest, it internally calls Synchronize, which forces you to obey the above.
  18. Uwe Raabe

    Can anyone spot the errors?

    You cannot use the built-in function Power, when there is a local variable with the same name. Note, that Delphi/Pascal is case insensitive.
  19. Could it be that the function is called in the debugger evaluator? If so, it should work as expected in the release version.
  20. Uwe Raabe

    Sorting two lists in step?

    I'm glad that nobody suggested a solution involving an SQL server, yet.
  21. Uwe Raabe

    Sorting two lists in step?

    What you describe just screams for a TDictionary. Is there anything hindering you to use the built-in implementation?
  22. Uwe Raabe

    Sorting two lists in step?

    Well, using Find on a TStringList with duplicates to get an index into a corresponding TStringList seems like a less optimal approach.
  23. Uwe Raabe

    Looking for RpShell, RpTable, RpDefine, RpBase, RpSystem

    May be I got it wrong, but that sounds a bit like a request for pirating.
  24. Uwe Raabe

    Sorting two lists in step?

    I wonder why still no one suggested using a TDictionary<string,string> instead. var dict: TDictionary<string,string>.Create; dict.Add('C', 'Pear'); dict.Add('A', 'Apple'); dict.Add('B', 'Banana'); // lookup shortname (A, B or C) var fullName := dict[shortname];
  25. Uwe Raabe

    About Delphi 11.3 CE Platform Selection

    Actually there were rumors that CrossVCL were to be bought by Embarcadero and included in Delphi. There was a time range where you could not buy new licenses. Now you can... As said above, you can get FmxLinux for free with an active Enterprise/Architect subscription. (Not sure about Pro, but it wouldn't make sense without the ability to target Linux)
×