Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating objects on the fly
Message
 
To
16/12/1999 04:52:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00304555
Message ID:
00304565
Views:
24
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform