button click to make other buttons appear

  • Thread starter Thread starter ryan.fitzpatrick3
  • Start date Start date
R

ryan.fitzpatrick3

I have one button that is an Update button, meaning that when I click
this button the text boxes come available (through enabled) to input
data into. Upon clicking the update button there are two buttons that
I have that I would like to come available as well, save and delete.
When I click the update button again I want the buttons to disappear.
Thanks.

ryan
 
I have one button that is an Update button, meaning that when I click
this button the text boxes come available (through enabled) to input
data into. Upon clicking the update button there are two buttons that
I have that I would like to come available as well, save and delete.
When I click the update button again I want the buttons to disappear.
Thanks.

ryan
 
On exit doesn't work, because I want to be able to essentially toggle
on the update button on and off and the delete and save button should
appear and disappear respectively. The on exit makes them disappear
when I click off of the button and that's not what I want.
 
On exit doesn't work, because I want to be able to essentially toggle
on the update button on and off and the delete and save button should
appear and disappear respectively. The on exit makes them disappear
when I click off of the button and that's not what I want.




- Show quoted text -

Assuming good button names it would be something like this.

Private Sub cmdToggle_Click()
cmdSave.visible = not cmdSave.Visible
cmdDelete.visible = not cmdDelete.Visible
End Sub

Hope this helps,
Chris M.
 
That's what I wanted, thanks!

ryan


Assuming good button names it would be something like this.

Private Sub cmdToggle_Click()
cmdSave.visible = not cmdSave.Visible
cmdDelete.visible = not cmdDelete.Visible
End Sub

Hope this helps,
Chris M.
 
Back
Top