Check opened form is visible

FuzMic

DataBase Tinker
Local time
Today, 17:29
Joined
Sep 13, 2006
Messages
744
Hi Hi

I can check in the all forms collection whether myform is loaded or not as follows:
CurrentProject.AllForms("myform).IsLoaded

Now i want to know if myform is set to visible or not, can i use the following

msgbox form_myform.visible = true


If not how? :)
 
Don't use the =True or =False, that will change the property setting.

To return the Visible status, simply:

MsgBox form_myform.Visible
 
Use
Forms!form_myform.visible = True
Forms!form_myform.visible = False
to set the visible property

Use
Msgbox Forms!form_myform.visible
to return the property value in a message box
 
Use
Forms!form_myform.visible = True
Forms!form_myform.visible = False
to set the visible property

Use
Msgbox Forms!form_myform.visible
to return the property value in a message box
Thanks guys 🌼😄

Sent from my HTC_PN071 using Tapatalk
 

Users who are viewing this thread

Back
Top Bottom