Check Control if Visible or hidden

  • Thread starter Thread starter Abe Katz
  • Start date Start date
A

Abe Katz

Hello All,
How can I check thru code, if a control on the form is visible or it's
hidden?

Thanks in advance
Abe
 
Hello All,
How can I check thru code, if a control on the form is visible or it's
hidden?

Thanks in advance
Abe

If Forms!yourformname!controlname.Visible = True Then
<it's visible>
Else
<it's hidden>
End If

You can use Me!controlname if the code is on the same form as the control.
 
Back
Top