D
Dave
Under certain conditions, I want a form to open with a particular control
hidden (i.e., not visible)
Me.cmdButton.visible = False
Under other conditions, I want this control to be visible. The default
condition should be visibile =true
I put code in my Form_Open procedure to test the conditions. However, once
the invisible condition is met, I can't seem to make the control visible
again.
I tried adding Me.cmdButton.visible = true to the Form_Unload and
form_close events but this does not work. Once the conditions for
invisibility have been met, the form always opens up with the control
visibility set to false.
What is the proper way to reset visbility in this case?
hidden (i.e., not visible)
Me.cmdButton.visible = False
Under other conditions, I want this control to be visible. The default
condition should be visibile =true
I put code in my Form_Open procedure to test the conditions. However, once
the invisible condition is met, I can't seem to make the control visible
again.
I tried adding Me.cmdButton.visible = true to the Form_Unload and
form_close events but this does not work. Once the conditions for
invisibility have been met, the form always opens up with the control
visibility set to false.
What is the proper way to reset visbility in this case?