General information
Category:
Coding, syntax & commands
Title:
How to set properties on a Modal Form
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only