Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid, Double Click
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115152
Message ID:
00115521
Views:
13
>>I wish to trap DblClick on a normal grid attached to a cursor. The event code should call an "Okay-Click" which closes the grid-form returning the current record's data. I am using the grid to show a help-on-code form, so when the user double clicks on a record it should return the corresp. code. Grid.DblClick is triggered if outside/beyond the grid's filled columns but has no effect when the mouse is on any of the filled columns/rows.
>>Can anybody help? TIA
>
>You need to place Double Click code in each of the controls used in the grid - i.e. each text box
>
>The double click event of the grid is only fired when you click in the grid itself - which is the area with no records in it.
>
>HTH

Nishit (via Ian),
Easier than placing the code for each control is to call the Grid DblClick method from each control's DblClick. That way changing the code is much simpler.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform