Showing graphics in a Delphi StringGrid and switching them by mouse or keyboard

Today I had a need for a grid that looks like this: It mixes text with two different bitmaps, representing an on/off state. In addition it should allow the user to switch the states using the mouse and the keyboard. (If you are an experienced component developer, expect to be bored by this article. 😉 … Continue reading Showing graphics in a Delphi StringGrid and switching them by mouse or keyboard

Bugfix for the Build Connection String dialog appearing on the wrong monitor

According to MSDN the window handle passed to IDBPromptInitialize::PromptDataSource will be used this way: hWndParent [in] The parent window handle for dialog boxes to be displayed. The dialog box will always be centred within this window. Unfortunately it doesn't work like this: If the parent form is on a secondary monitor the dialog is shown … Continue reading Bugfix for the Build Connection String dialog appearing on the wrong monitor

Delphi Known IDE Packages Manager updated to Delphi 10.2

A while ago, after my post on Known IDE Packages in Delphi I wrote a the KnownIdePackagesManager tool which lists those packages, allows to disable and enable some of them and also set the package description for those packages that don't have a meaningful description (usually "(Untitled)"). Today, I updated the tool to support Delphi … Continue reading Delphi Known IDE Packages Manager updated to Delphi 10.2