Example:
I have a main form: frmMain
and other secundary forms: frm1 and frm2
Main form has 2 buttons
BUTTON1: Open form1
BUTTON2: Open new instance:dim f as new frm1
f.tag="pepe"
f.showdialog
Ok. 2 instances of frm1 are opened.dim f as new frm1
f.tag="manolo"
f.showdialog
But now if the user clicks BUTTON1 will create a new instance. But I dont want this. How I can show (focus) the frm1 with tag "pepe".
Only I want create new instances if tag is different. If tag is the same, the form will be focused.
any idea?


Reply With Quote
