Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating a form from a button on the toolbar
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00526366
Message ID:
00526381
Views:
13
Hi!

To activate any form, use form's 'Show' method if form already opened. This should activate any form from any level. From the toolbar, you can locate required form or check if it is already opened using a _screen.Forms collection in a loop.

HTH.

>I would like to activate a form using a button on the toolbar. No problem, in the click of the button - DO FORM whatever. Only problem is this form is not on the same read level event as all the forms activated using the menu and this causes problems.
>
>I tried putting a hot key on the menu for the form that I wanted to activate and in the click on the tool bar I put the keyboard '{ALT+Z}'. This works great from the command window but will not do anything from the click of the button on the toolbar. Why?
>
>Is there another way to do this easily?
>
>Donna
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform