Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Value Form Form Object
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01160615
Message ID:
01161550
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
>When I want to return a value from one form use the following Syntax:
>
>
>DO Form WITH MyPar  TO MyVar
>
>
>With the following code in the UnLoad event of the Form:
>
>
>Return MyValue
>
>
>
>How to return the value from an object form, that it was created with CreateObject?
>
>
>oForm = CreateObjec('MyClassForm')
>oForm.Show(1)
>
Fala PCC..
_screen.addproperty("nO_valor_do_status",0)

*** executa todos procedimentos... que mudará o valor da propriedade... (tipo _screen.nO_valor_do_status=3)


*** depois

if  _screen.nO_valor_do_status=1
   **
endif

** e por ai vai
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform