Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restoring Grid's 'Double Click Event' method
Message
 
 
À
24/03/2008 11:44:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01304921
Message ID:
01304926
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform