When the program is first run ShowMessage is never displayed. Once the grid is clicked all works OK. Whats wrong. Also how do I create display the StaticText control?
My idea of how it should work would be something like this (obviously just an idea):
Title: Re: Custom control in DBGrid
Post by: pcurtis on February 26, 2021, 06:50:31 am
This is going nowhere. If it makes life easier I will change from DBGrid to StringGrid I only want to display the text from a specified column in a control (for example a TLabel) on the grid. The control must must be displayed on all rows, not just the selected row.
All I want to do is display the row / cell text as a hyperlink, so when the mouse is over the text it changes to crHandPoint, and when I click the text (not the cell) it opens the hyperlink in the associated program.