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