If I use any DragGripStyle other than dsDots in the AdvToolbarOfficeStyler, I can drag various AdvToolBars around. When using dsDots, the dots appear in design mode, but they disappear when the app is run, and I cannot drag the toolbars.
Are you referring to toolbars on a TAdvDockPanel?
Can you please provide more details?
TAdvToolBar 6.0.4.2 on a TAdvDockPanel 6.0.4.2 along with TAdvToolBarOfficeStyler. If the TAdvDockPanel is set to use the TAdvToolBarOfficeStyler, the dsDots will not appear on the dock panel when run or or restored in the styler when XE6 is closed and reopened (it returns to dsNone). The other grip styles do not show this behavior.
Looks like it is just the bsOffice2007xxxx styles.
As the Office2007* style is a style for a ribbon-type toolbar, it sets DragGripStyle automatically back to dsNone. If you want an Office2007 style for a non-ribbon toolbar, set AdvToolbarOfficeStyler.Style to bsCustom (after having it set to bsOffice2007*)
Understood, but why does it only reset dsDots back to none and not the others? What I'm saying is, that if I already have it set to an Office 2007 style, then choose a grip style OTHER than dsDots, it runs and the chosen grip style is there and usable. If I had chosen dsDots, it does not appear because secretly it has been set to dsNone (the property reads dsDots but does not take effect nor gets saved)
The styler sets for all Office 2007 styles the DragGripStyle to dsNone.
You can verify this in AdvToolBarStylers.pas
Yes, agreed, setting the style to a 2007 style AFTER you set the grip style, resets the DragGripStyle to dsNone. I'm referring to the opposite, set the Grip style AFTER setting the style to an office 2007 style. This is what is inconsistent in regards to dsDots and the other ds grip styles.
I see it. It's because dsDots is set as the default DragGripStyle, so, when set to dsDots, this isn't saved to the DFM file. The best is to set Styler.Style to bsCustom as soon as you want to deviate from what's standard for this style.