Jump to content

how to do to know if a form is open,


Wilton Ergon

Recommended Posts

how to do to know if a form is open, the command below, performs the show in the form, in vcl this behavior be very different,

 

if form = nil then // this runs a show    showmessage ('form is nil')

 

when I close one form and open another, the previous form still displays on the screen.

 

sample:

 

form1.showmodal;   //form freeonclose =true

form2.showmodal;  //form freeonclose =true

 

when it closes form1, and it shows form2, form1 still shows on the screen

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...