I'm doing a small internal software to search branch lines in my company. In addition to the branch lines I also put an e-mail field in the database as shown below:
My intention is to click on the registered e-mail and the software via the ShellExecute
open a window to send the e-mail. I'm using the option dgRowSelect
as TRUE
and because of that the OnCellClick
event does not correctly identify which cell was clicked.
In my searches have not found any way to do this. Then I thought of using a TLabel
within the field. I can use the onclick
event in the TLabel
and also change the cursor icon.
If TLabel
is a good solution, how can I add a TLabel in DBGrid?
Or what would be another good solution?