Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a from from a command button
Message
From
26/10/1998 19:33:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Calling a from from a command button
Miscellaneous
Thread ID:
00150720
Message ID:
00150720
Views:
65
My "boss" insists that our VFP 6.0 system run from a top level form with pushbuttons that call the other forms in the app. These other forms have features that require their own dedicated SYSMENU, so these called forms need to be modeless, even though the system only runs one form at a time. I put DO FORM CCDATA NAME LINKED in the Click Event of the CCDATA push button in the top level form, but when I run the program, focus ultimately ends up back on the top level form, rather than the called form, although the called form is visible and I can send focus to it by clicking on it. How do I get the application to perform as follows:

1. User clicks pushbutton on top level form.
2. Top level form disappears, focus goes to and remains on
modeless called form until called form is released.
3. Top level form reappears and receives focus.

I know this is simple, but I'm stuck.
Next
Reply
Map
View

Click here to load this message in the networking platform