Components similar to Delphi VCL Buttons, Toolbar, DbNavigator, BindNavigator, ButtonGroup and CategoryButtons with Custom Graphic Styles, and an advanced, full-customizable TaskDialog, also with animations!
Apache License 2.0
152
stars
34
forks
source link
Added SortOrder property to TStyledToolbarButton and SortbySortOrder … #33
…to TStylesToolbar. Add some functionality to work around sorting components in the StyledToolBar. Right now, just the buttons, but concept can be expanded. There is verification of each control to make sure the SortOrder property is available.
This address issue of StyledToolbar not always sorting in run time as design time if certain items on the toolbar are hidden or shown during run time.
I've added your implementation with some minor differences, to preserve non storing of property SortOrder if not used.
Also I've made some fix to your code, please check and confirm.
…to TStylesToolbar. Add some functionality to work around sorting components in the StyledToolBar. Right now, just the buttons, but concept can be expanded. There is verification of each control to make sure the SortOrder property is available. This address issue of StyledToolbar not always sorting in run time as design time if certain items on the toolbar are hidden or shown during run time.