Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Datasession Two or More Forms - Close First Form
Message
From
26/05/1999 09:52:29
 
 
To
26/05/1999 09:31:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00222633
Message ID:
00222909
Views:
28
I would leave it in the toolbar and the menu also. It's just a special case that when the Production form is called from the Primary form, it should display the information about the selected record in the Primary form. If it's called from the toolbar or the menu, it display the first record (for example).

Although it may be possible to do the same thing from the toolbar or the menu, it will complicate things more and will cause some confusion. What if more than one primary form is open? Which one should be used? _Screen.ActiveForm could be used for that, but what if another form was currently active?

>The Production form is called from Menu or Tool Bar. Command buttons on the Primary form is the way I did it in FPW 2.6a and it worked fine. I just wanted to use the Tool Bar in order to get rid of the 'clutter' on the Primary form. I'll try a command button on the form to see how it works. I guess I could still leave the Tool Bar buttons for when the Primary form is not open (i.e., posting batch receipts).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform