Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Toolbar
Message
 
 
To
20/10/2002 09:20:33
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00713287
Message ID:
00713327
Views:
15
Hi Gary,

>Why not specify the value of thisform.cNavWorkarea to the child form's workarea/alias when you activate the child form.<

Why? you ask <g>. Cause I never noticed cNavWorkArea before <bg>, or at least I can't remember noticing it.

About the following:
thisform.cNavWorkarea = 'ChildWorkArea'
thisform.oStateManager.RefreshAll('Form')  && Parameter will refresh form related actions.

* When you re-activate the parent form, you will have to "reverse" this logic.
If at design time I assign the cWorkArea or cNavWorkArea property on the form, is the above still required? I can't tell any difference between adding the above code to the Form Activate() or assigning the cWorkArea or cNavWorkArea property. I notice that similar code to what you gave in the online help referred to a PageFrame Activate() - so I am just asking for a little clarification.

And finally,
thisform.oStateManager.RefreshAll('Form')  && Parameter will refresh form related actions.
The ('Form') is requiring the form Name property, like ('MyForm'). Correct?

Again, thanks for all your help. You have saved me a ton of time on this one.

Mel Cummings
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform