Maximise and Minimise Forms

jonnywakey

Registered User.
Local time
Today, 06:05
Joined
Feb 2, 2009
Messages
33
Hi All

I have a Form [frmLogon] which opens on db open to allow users to logon, once they have entered their username and password they click a cmdbutton which then minimises [frmLogon] and opens form [Navigation Menu].

On close of form [Navigation Menu] how can I get [frmLogon] to restore to its original open state from being minimised.

By the way i have to keep [frmLogon] open as it provides an OpenArgs reference to another form for security data!

Thanks

Jonny:rolleyes:
 
Instead of Minimizing the Form, set it to hidden, this way the Form will not be visible but will be kept open, so your references will still live. Then when you want you can bring it back to life !
Code:
Forms!LoginFrm.Form.Visible = False   'To hide
Forms!LoginFrm.Form.Visible = True    'To Unhide
 
Result!

pr2-eugin you are a star, many thanks!!:D:D:D:D:D:D:D:D
 

Users who are viewing this thread

Back
Top Bottom