Hi Nancy,
First, thanks for your reply.
The code is in the dblclick method of TextBox. And still it wouldnot fire.
I want to display two Grids with differnt data. However the basic funtion is very similar. In both the Grids,
RECORDSOURCETYPE = 4 (SQL)
and its dynamically filled. Both the grids are identical in a sense they perform the same task while double clicked. It works in first grid but not in second.
Both the grids are on a container.
Pls let me know if you have any solution to this.
Regards
Shaishav Merchant
>>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.
Regards
Shaishav