-
Content Count
2750 -
Joined
-
Last visited
-
Days Won
162
Everything posted by Uwe Raabe
-
delphi Virtual Listview does not work because 'un-select' is not reported
Uwe Raabe replied to Bart Kindt's topic in Windows API
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. -
Please support Stack Overflow moderators strike against AI content policy
Uwe Raabe replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
With a high enough reputation you have some privileges like elected moderators have. -
delphi Virtual Listview does not work because 'un-select' is not reported
Uwe Raabe replied to Bart Kindt's topic in Windows API
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. -
delphi 10.4.2 invalid compiler directive
Uwe Raabe replied to Manlio Laschena's topic in ICS - Internet Component Suite
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. -
delphi 10.4.2 invalid compiler directive
Uwe Raabe replied to Manlio Laschena's topic in ICS - Internet Component Suite
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. -
Why does TRegistry.GetKeyInfo double the returned values of MaxSubKeyLen/MaxValueLen for far eastern locales?
Uwe Raabe replied to David Heffernan's topic in RTL and Delphi Object Pascal
@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. -
A modal Splash form would probably block the startup sequence.
-
Looks like a splash or login form.
-
Can you break it down to a minimal code sample?
-
The xmldoc says:
-
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.
-
Custom sort of a TList with object references (works in 32 bit, does not in 64 bit)
Uwe Raabe replied to Alexander Halser's topic in Algorithms, Data Structures and Class Design
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). -
Cannot try in the moment, but perhaps MultiPaste can act as a workaround. Nevertheless, it would make for a good feature request.
-
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.
-
As long as you were under active subscription when the update was released.
-
Even StackOverflow has solutions for that: TDictionary save to file Delphi Dictionary Save/Load. TDictionary not serializable?
-
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.
-
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.
-
Decrement a value by 1 each time a function is called
Uwe Raabe replied to Willicious's topic in Delphi IDE and APIs
Could it be that the function is called in the debugger evaluator? If so, it should work as expected in the release version. -
I'm glad that nobody suggested a solution involving an SQL server, yet.
-
What you describe just screams for a TDictionary. Is there anything hindering you to use the built-in implementation?
-
Well, using Find on a TStringList with duplicates to get an index into a corresponding TStringList seems like a less optimal approach.
-
Looking for RpShell, RpTable, RpDefine, RpBase, RpSystem
Uwe Raabe replied to georges pletinckx's topic in Windows API
May be I got it wrong, but that sounds a bit like a request for pirating. -
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];
-
About Delphi 11.3 CE Platform Selection
Uwe Raabe replied to ChenShou's topic in Delphi IDE and APIs
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)