General information
Category:
Forms & Form designer
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
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