- Home
·
- Miscellaneous
·
- Easy way to enable or disenable all buttons (icons) on a toolbar.
Easy way to enable or disenable all buttons (icons) on a toolbar.
Easy way to enable or disenable all buttons (icons) on a toolbar.
Rate Easy way to enable or disenable all buttons (icons) on a toolbar.
(1(1 Vote))
'"8" here is the number of buttons on my toolbar, change this number to
'the number of buttons you have, this number has to be exact.
'to enable all buttons on a toolbar use this code:
For i = 1 to 8
Toolbar1.Buttons(i).Enabled = True
Next
'to disenable all buttons on a toolbar use this code:
For i = 1 to 8
Toolbar1.Buttons(i).Enabled = False
Next
Easy way to enable or disenable all buttons (icons) on a toolbar. Comments
No comments yet — be the first to post one!
Post a Comment