Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define an objects METHOD within the program
Message
 
 
À
22/06/2001 16:12:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00522627
Message ID:
00522630
Vues:
9
>Is there a way to define methods like 'dblclick' or 'click' from the program? I use a grid on a form that has a variable determining the number of columns. I built the grid with 6 columns, and assigned all the method programming. When the program runs, if I close the control source for the grid, I lose all of the method programming. When I redefine the grid, I can assign properties but not methods. Is there a way to do this?
>
>Thanks,
>Larry

Larry,
Before closing the RecordSource for the grid, set the property to "" (space(0)). That way, the grid will not implode and your property/methods will stilll be intact.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform