Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a class from a form
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00515316
Message ID:
00515327
Views:
10
George,

I watched a movie called "Wonder Boys" last night. They play several Bob Dylan's songs on it. I thought that you may like to watch it...if you haven't already. It is a very good movie.


>>Hi. This is basic, but it still baffles me.
>>How do you call a class from a form? I have a form and I want to pop up a class that I have written to accept data entry.
>>
>Randy,
>
>Create the object with CREATEOBJECT() or NEWOBJECT(). Call the object's Show method (using Obj.Show(1) so that the form's modal). Then check to make sure it's not null and retrieve the value. Optionally, you could create a form from the class and return the variable via DO FORM...TO...
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform