G
gregarican
I have a standard VC# 2005 DataGridView showing a group of records
coming from a table. Currently I have a CellMouseDoubleClick event
popping up a MessageBox which pulls a timestamp of the transaction
from a related table based on the row in the DataGridView that the
double click was registered against. I didn't want to add the extra
column with this timestamp info into the DataGridView since it's not
always needed by the enduser.
Rather than this double click mechanism I would like the ability to
create a mouse over event that would present this timestamp in a
bubble to the enduser. If they hover the mouse over a cell then that
row is fed into the method I have that presents the timestamp.
Checking out the ToolTip control it appears as if I can just define
the text to be presented if the enduser hovers their mouse over the
column headings. Not the cell contents themselves.
Am I missing something here? Even a basic example would be
appreciated, since I'm not looking to define the text explicitly in a
control property. I need to programmatically define it by passing the
DataGridView row's values into a method.
Thanks!
coming from a table. Currently I have a CellMouseDoubleClick event
popping up a MessageBox which pulls a timestamp of the transaction
from a related table based on the row in the DataGridView that the
double click was registered against. I didn't want to add the extra
column with this timestamp info into the DataGridView since it's not
always needed by the enduser.
Rather than this double click mechanism I would like the ability to
create a mouse over event that would present this timestamp in a
bubble to the enduser. If they hover the mouse over a cell then that
row is fed into the method I have that presents the timestamp.
Checking out the ToolTip control it appears as if I can just define
the text to be presented if the enduser hovers their mouse over the
column headings. Not the cell contents themselves.
Am I missing something here? Even a basic example would be
appreciated, since I'm not looking to define the text explicitly in a
control property. I need to programmatically define it by passing the
DataGridView row's values into a method.
Thanks!