ricardolb Posted June 27, 2017 Posted June 27, 2017 I'm opening all my forms in TabSheets, just like the UniGUI demo, but sometimes, inside another form I also open a form for search records and stuff, but, if this form is already open in a TabSheet, it won't do anything, is there a way I can check if this form is already open, so I can close the tabsheet and open the form modal. Thank you Quote
RobYost Posted June 28, 2017 Posted June 28, 2017 I usually create my forms aForm = TmyForm.Create(self); when you do it this way you can check if (aForm = nil) then if you don't do it this way you can check if (aForm.Visible) then Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.