commandbars - window cascade

Mr.K

Registered User.
Local time
Today, 02:42
Joined
Jan 18, 2006
Messages
104
I was wondering if there is a way to create a button on the form which would do the same as clicking from the commandbar: Window->Cascade.

If not, then my second choice would be to hide all the commandbars with the code I found on the forum:
Code:
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i

but when I add at the end of the above code:
Code:
CommandBars("Menu Bar").Controls("Window").Enabled = True
that doesn't unhide the Window command. So how can I unhide the Window/cascade command?

(Also can someone tell me what the difference is between the commandbar and toolbar? Is the toolbar the bar with all the icons and commandbar the one with all the word commands like File, Edit, etc...?)
 

Users who are viewing this thread

Back
Top Bottom