Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with more than one do forms
Message
 
 
To
02/06/2001 13:49:21
Kishor K
KPIT Cummins Infosystems Ltd.
Pune, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514211
Message ID:
00514215
Views:
12
>Suppose this is in the click event of a button :
>
>do form form1
>do form form2
>
>I wish to execute form2 after form1 is released. What is happening that both the forms become active.
>
>This is just a schematic. In my application I CAN NOT do form2 in click event of the button which will release form1.
>
>What do I do? Am I designing in a wrong way? Is this not a correct way to think?

Make Form1 modal (WindowType = 1). Execution will stop while Form1 is visible. When you release it, Form2 will be launched.

As for your question about designing it wrong, I can't answer that because I don't know your situation. If you want the user to only execute one form at a time in succession without the abilty to go backward, then yes.

Otherwise, you might look at creating a wizard. One form with a pageless pageframe and Back and Next buttons that set the ActivePage accordingly.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform