by Brandon (46 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 10th April 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Easy way to enable or disenable all buttons (icons) on a toolbar.
'"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
No comments have been posted about Easy way to enable or disenable all buttons (icons) on a toolbar.. Why not be the first to post a comment about Easy way to enable or disenable all buttons (icons) on a toolbar..