Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set properties on a Modal Form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00797768
Message ID:
00797770
Views:
14
Gerard,

Add NOSHOW clause.
Do Form MyForm Name oForm NOSHOW
oForm.FromLoc  = 'MYLOC'
oForm.Customer = 'MyCust'
oForm.Area     = 'MYAREA'     
...
oForm.Show()
>I have a form which I call as follows:
>Do Form MyForm Name oForm
>
>I then want to set properties from the 'calling' form:
>oForm.FromLoc = 'MYLOC'
>oForm.Customer = 'MyCust'
>oForm.Area = 'MYAREA' etc
>
>However, because the Form loads, and then processes, I can access the forms properties.
>
>I can do this if the Form is NonModal but then Code in the Calling Program , after the Do Form command reuns, and I dont want this to happen.
>
>Maybe there is some other syntax to use to Instantiate the form, set the properties and then set focus to it .
>
>
>Any help appreciated.
>
>regards,
>
>Gerard
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform