Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a grid with code
Message
 
 
À
19/06/2001 13:05:36
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00521141
Message ID:
00521157
Vues:
17
>In one of my classes I am creating the grid I am displaying dynamically through a method on the class. When I try to set column1.text1.dblclick method = to a form method it fires off the form method. All I want to do is set the text box dblclick event = my form method. I tried using eval(Formmethod) but it is not working. Can you think of anyway for me to get around this problem ?
>
>Thanks for your help
>Stephen J. Hunt

You can not easily set methods in run time. Definitely not by the way you're trying to do it. Check FAQ section for Mike Helland FAQ "Adding code in a grid programatically" (something like that). This would be a start. Quite recently there was a very interesting thread on the same topic, I'll try to find it for you.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform