Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBLClick in Grid
Message
From
02/11/1998 17:08:39
 
 
To
30/10/1998 11:00:21
Marco Beuk
Innovero Software Solutions
The Hague, Netherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00145489
Message ID:
00153724
Views:
20
Yes. I had my grid based on a cursor that was destroyed and recreated with a SQL Pass through query. As it turns out, when the record source for a grid is destroyed, all properties (and methods) are lost.

What I did is to create another cursor that gets ZAPed and appended to from the SQL Pass through results query. In other words.

=sqlexec(..., 'gridtemp')
select gridcursor
zap
append from gridtemp
MyGrid.Refresh()


>>I have code in the DBLClick method of the textbox control in a grid. The data source of the grid is a cursor created by a paramaterized SQL Passthrough statement. The DBLClick method works until I re-issue the SQL Passthrough to get a different set of records in the cursor. What do I have to do to keep the DBLClick method working in this column?
>
>I have exactly the same problem in the same situation. Unfortunately i still don't have the solution. For some reason it doesn't count for all my grids.
>I did however find out that a grid containing a textbox directly based on the baseclass the dblClick event of the textbox fires but when i based the textbox on a subclassed textbox it doesn't fire.
>
>Do you already have the solution?
>
>Marco.
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Reply
Map
View

Click here to load this message in the networking platform