Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Making Frames Visible (or not)
I am working on an application and thought that it would be easy to create a
number of forms on a dialog box with a menu on the top of the dialog box. Depending on which button was clicked on, a frame would be made ".visible" and all the other frames would be set to ".visible=false". Once I make the first frame visible, I don't seem to be able to get that frame to become invisible and another frame visible. Is there something obvious I'm missing? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Making Frames Visible (or not)
This simple code works
Private Sub CommandButton1_Click() With Me .Frame1.Visible = True .Frame2.Visible = False .Frame3.Visible = False .Frame4.Visible = False End With End Sub Private Sub CommandButton2_Click() With Me .Frame1.Visible = False .Frame2.Visible = True .Frame3.Visible = False .Frame4.Visible = False End With End Sub -- __________________________________ HTH Bob "dunnerca" wrote in message ... I am working on an application and thought that it would be easy to create a number of forms on a dialog box with a menu on the top of the dialog box. Depending on which button was clicked on, a frame would be made ".visible" and all the other frames would be set to ".visible=false". Once I make the first frame visible, I don't seem to be able to get that frame to become invisible and another frame visible. Is there something obvious I'm missing? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I subtract time where hh:mm:ss:ff (frames = 30 frames/sec) | Excel Discussion (Misc queries) | |||
Making visible a picture | Excel Discussion (Misc queries) | |||
Making Sheet Visible | Excel Programming | |||
Making a form visible | Excel Discussion (Misc queries) | |||
making a group visible (or not...) | Excel Programming |