Make a label Not visible

B

Bob Vance

My Label lblWarning can I have an On Click event that it will make my label
Invisible for good
 
B

banem2

My Label lblWarning can I have an On Click event that it will make my label
Invisible for good

Hi,

Usually you will need a table such a tblOptions to store various info
about app. Add a field bolLabelInvisible Yes/No and once when user
click the label to make it invisible, set the bolLabelInvisible =
False.

Use OnLoad event of the form:

If Dlookup("bolLabelInvisible", "tblOptions") = True Then
Me.LabelName.Visible = False
End If

Regards,
Branislav Mihaljev
Microsoft Access MVP
 
Top