|
I'm iterating on all the buttons of my Toolbar and found that
Toolbar.buttons[i].classname = 'TSpeedButton'
while Toolbar.buttons[i] is TSpeedbutton causes an exception
says "Incompatible types: 'TSpeedButton' and 'TToolButton'"
fair enough, the help says Toolbar.button is a collection of TToolButton.
what i don't understand is this :
Toolbar.buttons[i].classname = 'TSpeedButton'
what am i missing here?
thanks |
