
08-15-2003, 05:14 PM
|
|
Centurion
|
|
Join Date: Jun 2003
Location: Somewhere over the Rainbo
Posts: 174
|
|
Toolbar Index?
|
Hi I have a questions I have a toolbar with 14 buttons and I want to do this :
Code:
If Time > #10:30:00 AM# And Time < #4:00:00 PM# Then
Toolbar1.Buttons.Remove 4
Toolbar1.Buttons.Remove 6
Toolbar1.Buttons.Remove 7
Toolbar1.Buttons.Remove 8
Toolbar1.Buttons.Remove 9
Toolbar1.Buttons.Remove 10
Toolbar1.Buttons.Remove 11
end if
and appears me the error 35600: "Index out of bounds"
what is the problem?
Thanks
|
|