>is there a method or property i can use to see what grid and record of that grid the user has just clicked on?
>I have an object with 4 Grids that have a parent child relation starting with the first grid and going down IE: grid1=orderlevel,grid2=linelevel,grid3 = componentlevel,grid4 = subcomponentlevel. I need to tell the difference between the user clicking on the orderlevel.ordernumber or if they want to work with the individual line they would click on the linelevel.lineno
You could put code in the Click event of the Text1 in the Grids (or add you own control with method already subclassed for you). Or you could put code in the AfterRowColChange event of the grids. That will fire when the user changes rows or cols either through a mouse click or keyboard action.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao