Is there a way to perform few codes whenever user clicks on a column of dbgrid? I'm trying to open another form whenever user clicks (i would prefer dblclick but clicking is ok too) a column.. HELP!!!!
Printable View
Is there a way to perform few codes whenever user clicks on a column of dbgrid? I'm trying to open another form whenever user clicks (i would prefer dblclick but clicking is ok too) a column.. HELP!!!!
Simply put your code in the grid click event or double click event.
That method does not work... click event happens whenever you click on the whole dbgird. So if a user clicks on a spot where there's no column, program still calls the function