What is xtpFlagSmartLayout? |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 25 February 2020 at 10:35am |
I see a toolbar can have the xtpFlagSmartLayout flag set. I tried it out. What does "smart layout" actually mean? The help file simply says the same thing as the include file. It is a "smart layout" flag.
What is smart about it? I am not floating the toolbar, only allowing it to dock. So far, I see no difference at all when I add the flag to see how smart it is. |
|
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(0)
|
If memory serves, this flag provides ribbon-like layout behavior (e.g. resizing to make space, etc.) for regular toolbars.
See "CommandBars.SmartLayout.exe" from the CJ samples.
|
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
|
Thanks. That makes sense now. I just added buttons all using the same style. But the toolbar is a command bar and I could add popups and other controls like edit boxes if I wanted to.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |