Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restoring Grid's 'Double Click Event' method
Message
 
 
To
24/03/2008 11:44:19
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01304921
Message ID:
01304926
Views:
16
>I have created a form that contains a grid. At times I need to dynamically recreate the grid as it was when the form first opens. I'm having difficulty when I dynamically recreate the grid holding on to the grid's 'Double Click Event' method. Any ideas on how to hold on to the method or the syntax for reassigning the method when I recreate the grid? (VFP 6) Thanks.
>Jerry

The simplest way would be to use "safe select" technique, when you zap the original cursor used for the grid and append from the temporary cursor. This way no grid reconstruciton issue occurs.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform