Hello, Maybe this has been on this forum before, but i could not find it. Sorry in advance if this has already been here.
My problem is this. I have a TForm with 3 TDbGrids on them. There is 1 TToolbar with several toobuttons on them. What i would like is when i press the Add button on the TToolbar that the code corresponding to the TDbGrid fires. I know there is a way to use strings for this, but is there some other way to do this. I would like to know which component i was in BEFORE i pressed the button. TIA Marco

