Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Modal Forms
Message
 
To
13/08/1996 14:04:01
Paul Baker
Pacific Environmental Services, Inc.
Rtp, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00005662
Message ID:
00005665
Views:
42
>I know how to pass a value back from a form using the following steps:
>
>1. Form WindowType Property to "1 - Modal"
>2. Do MyForm TO ReturnedValue
>3. UNLOAD Event of form contains RETURN ReturnValue
>
>But how do I pass a value back from form that I create on the fly from a class?
>
>oMyForm = CREATEOBJECT("MyFormClass")
>oMyForm.Show()
>
>TIA, Lee

add a property to MyFormClass like FormRetVal
ReturnedValue = oMyForm.FormRetVal
Previous
Reply
Map
View

Click here to load this message in the networking platform