Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do Form Linked question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00663320
Message ID:
00663918
Views:
18
David, thanks for your informative reply.
Option two looks interesting but I'll do a bit of experimenting with all 3 options

regards,

Gerard



>Gerard,
>
>There are a few ways to accomplish this
>
>1) use a FormsManager
>2) scan the _screen.Forms collection to see if the form already exists and simply activate it if it does
>3) Disable the button when the child form is launched, reenable it when the child form is closed. This is the technique I like to use. I have a special command button and child form class that deal with the details of passing a reference to the button to the form Init(). You should enable the Window menu item so that the user has an easy way to get to forms that endup behind each other.
>
>>Sebastian, thanks for your reply, which makes a lot of sense.
>>
>>How would I keep the Formb from being reinstagated if the user clicks on it again? Is there some way of telling if Formb is activated , and then Maybe I might NOt call formB
Previous
Reply
Map
View

Click here to load this message in the networking platform