I'm doing a little internal software to search extensions in my company. In addition to the extensions I also put an email field in the database as can be seen below:
My intention is to click on the registered e-mail, the software through ShellExecute
open a window to send the e-mail. I'm using the dgRowSelect
option as TRUE
and because of this the OnCellClick
event does not correctly identify which cell was clicked.
In my searches I have not found any way to do yet. So I thought I'd use TLabel
inside the field. I can put ShellExecute
in event OnClick
of TLabel
and also change the cursor icon of it.
If TLabel is a good solution, how can I insert TLabel into the cells of a column in the DBGrid?
Or what would be another good solution?