Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a class and set its properties programatic
Message
 
 
To
16/05/2002 18:35:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00657845
Message ID:
00657949
Views:
38
>>>Hi,
>>>
>>>How can I create a class and set its properties programatically without hacking the VCX file?
>>>
>>>CREATE CLASS ... NOWAIT starts the class designer and continues with program execution, but I don't know how to get a reference to the object being created in order to set its properties as well as add other objects to it, and finally to close the design window.
>>>
>>See
DEFINE CLASS ...
>
>Thanks Sergey. I meant that the class be created programmatically, as part of a conversion project, but be saved in a VCX file so that further maintenance can be done visually, with a builder.

Sorry, I misread your message. You can create object using CREATEOBJECT or NEWOBJECT, add properties and other objects and save it using SaveAsClass method.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform