Separate lists for VCL and FMX in GExperts Rename Components expert

The Rename Components expert in GExperts now has separate lists for the names and additional properties for VCL and FMX components. Previously it was a hassle to have additional properties shown in the rename dialog if these have different names in VCL vs. FMX e.g. the Caption vs. Text property of TLabel. Now you simply … Continue reading Separate lists for VCL and FMX in GExperts Rename Components expert

GExperts bug: CTRL+V on FMX form designer inserts into secondary editor window

I got a bug report for GExperts and Delphi 10.4 that's really curious: When a secondary editor window is open in the IDE and the FMX form designer is active, trying to insert a component from the clipboard into the form inserts the textual description of that component into the editor windows instead. I could … Continue reading GExperts bug: CTRL+V on FMX form designer inserts into secondary editor window

When sorting a “StringList” is very costly

The following code looks innocuous but slows down a program significantly: Yes it's Quicksort and it sorts strings in a TCheckListBox's Items property, swapping not only the strings but also the objects and the Checked values. Now, run this with, lets say 100 entries. That shouldn't be any problem for Quicksort, should it? But it … Continue reading When sorting a “StringList” is very costly

New Explicit Properties Filter expert in GExperts

I never understood the benefit of writing the ExplicitLeft / Top / Width / Height properties for TControl and descendants, which were added in Delphi 2007, to the dfm files. They store the control's position and size before its Align property was set to something like alClient or alRight, so they can be restored later. … Continue reading New Explicit Properties Filter expert in GExperts