General information
Category:
Coding, syntax & commands
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
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