Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactive Messageboxes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00401589
Message ID:
00401619
Views:
19
I think Barbara makes a good point here by demonstrating that a form is basically a data structure that also has GUI visibility. You can pass form references to other forms (like pointers), store them, and create your own walkable hierarchy of interconnected forms in your app, where an event in one form can thus be programmatically trickled/propagated through other forms at will.

>Rodney,
>The simplest way is to pass the calling form as an object to the modal form. Then you store the data back to the calling form.
>
>1. Do NewForm with thisform && Sends the form object to the modal form (NewForm)
>
>2. In the NewForm Init(), get the parameter and store it to a form property:
>Init()
>lparameter oCallingForm
>this.OForm = ocallingForm (OForm is a form property you add)
>
>3. In the Exit button
>This.OForm.TextToUpdate.value = Thisform.NewTextEntered.value
>thisform.release()
>
>HTH
>Barbara
>
>>Hi Alex,
>>
>>Thanks for responding.
>>
>>I guess that's the trick I need...what code would I use to return the text typed in - say for instance to put the text in a textbox on the main form?
>>
>>(The reason I like this is that it forces the user to enter the ID number first, that way it's not so messy and the record he's working on is secure)
>>
>>Rodney
Previous
Reply
Map
View

Click here to load this message in the networking platform