Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communicating between forms
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00143896
Message ID:
00143926
Views:
21
Michelle,

What kind of inter-form communication are you trying to achieve?

One of the apps I'm working on now uses the same thing you are trying to do here. There is a parent form that is opened in a Private Datasession. From it child forms are launched via a clickable label that acts like an browser hyperlink. These child forms are all set to Default DataSession so they open up in the parent form's DS. On the parent form are grids based on views that display what the child forms edit. When the child form closes it lets the hyperlink object know this and it requeries the view so the parent form shows the result of the edits made in the child.

>I have a situation where instead of one large form, I'd like to have a bunch of smaller forms on the screen at once. This would allow the user to move them around or minimize them individually. All these forms are related to each other, so when the user does something on one form, it needs to affect the other forms.
>
>How do I refer to the controls on one form from another form? I'd also like them to use the same datasession. Basically, I want the control of one large form, but broken into smaller windows.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform