Toolbar Resizing
Like 4D's tab control, the toolbar component can display icon-only buttons when there is not enough space to show the buttons with their button text in the toolbar. Unlike 4D's tab control, in which all the tabs become icon-only in one go, the Toolbar Component resizes the toolbar so that as much of the available space is used. You can even set the priority order of the buttons so that certain buttons will keep their button text as long as possible.
No additional code is necessary to enable this resizing feature. All that is necessary is to enable the "On Resize" event in a form containing a toolbar and everything is done for you.
|