Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide Unhide forms

Status
Not open for further replies.

genxiii

Technical User
Jun 13, 2003
17
US
hey guys, i need some help on hiding and unhiding a form.

i created a macro and i selected the "Select Object" Action and selected a form called Login. Next i selected the action "RunCommand" and selected the command "Window Hide". That works fine to hide the window but i have trouble unhiding it. I do the same to unhide it except i pick command "Window Unhide." When i run that macro it halts. Any idea what the problem is and how to fix it? My guess is that i can't select an object that is hidden? Any help would be much appreciated. thanks guys

 
Change your macro for the Unhide process to an OpenForm selecting the correct form name and setting the window mode to Normal. This will just unhide the already opened form for you. It will not open a seperate copy as you might think. You see only one copy of the form may be opened at a time.

Post back with any questions.

Bob Scriver
Want the best answers? See FAQ181-2886
Nobody believes the official spokesman... but everybody trusts an unidentified source.
Author, Bagdad Bob???

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top