Print Page | Close Window

What is xtpFlagSmartLayout?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23961
Printed Date: 26 April 2024 at 6:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: What is xtpFlagSmartLayout?
Posted By: rdhd
Subject: What is xtpFlagSmartLayout?
Date 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.



Replies:
Posted By: markr
Date Posted: 26 February 2020 at 10:55pm
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.


Posted By: rdhd
Date Posted: 27 February 2020 at 9:01am
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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net