Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating objects on the fly
Message
 
À
16/12/1999 04:52:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00304555
Message ID:
00304565
Vues:
25
>Hi,
>Is it posible to create, say an optiongroup and define procedures for this new object on an existing top level form from a click event of a command button?
>
>If so how?
>
>Thanks in advance

Mike,

Your question has two answers depending on which version of VFP you are using.

If you are using VFP 6.0 SP3 then you can write a program that writes a program to define the optionGroup class with the code and everything in it, then COMPILE that PRG and finally AddObject() that class to the form.

In earlier version (anything before Service Pack 3 of VFP 6) you can't do this. The class has to be defined before hand.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform