Working with MDI Child Forms..

wyrd

Senior Contributor
Joined
Aug 23, 2002
Messages
1,405
Location
California
How do I insure that a MDI Child Form is created only once? I don't want a certain form to be opened several times (that is, several versions of the same form is displayed)

EDIT:
Nevermind, I decided to use a simple tab page rather then MDI forms.
 
Last edited:
Wyrd, I had the same problem and got around it by having a global boolean variable which is set to True when the child is first opened. Any attempt to open another child is ignored if the variable is True. Messy but works a treat in my app.
 
Back
Top