delphi - Why TToolBar doesn't want to wrap? -


i put ttoolbar on form , add tspeedbutton. ensure myself wrapable set true , run application. when shrink form buttons don't wrap on new line. missing ? using delphi 2009.

you need set ttoolbar.autosize true, , add separators between groups of buttons there's place split toolbar sections.

it's better use ttoolbutton on ttoolbar instead, it's designed work them. right-click toolbar , choose new button or new separator. assign images want display timagelist, , assign imagelist ttoolbar.images property, set imageindex each button display image list. (another advantage can separate imagelists hotimages , disabledimages properties well.)


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -