>Dear All UT Memebers,
>
>I have included two Grids on a container. Both of them are being updated during runtime. The RecordSourceType of both the grids is 4 (SQL).
>
>When double-click on Column1.text1 it should launch a form. Both the Grids are almost identical, just two different procedure to fill them, and Grid 1 is 3 column and Grid 2 is 2 columns.
>
>Double Click function works properly for Grid1 but it does not respond for Grid2. If I call the Grid2.column1.text1.dblclick event, it works. But if I double click it does not work.
If I understand you correctly, this is how grids work. The textbox's events will fire and not the grids, unless the event occurs on a blank area of the grid.
I'm not sure why the two grids are different, but if you want to be able to doubleclick on a textbox (or other object) in a grid, then you put the code in that object's doubleclick. Not the Grid.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement