Print Page | Close Window

force control layout in a ribbon

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=11920
Printed Date: 28 February 2025 at 10:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: force control layout in a ribbon
Posted By: Osiris
Subject: force control layout in a ribbon
Date Posted: 21 August 2008 at 7:54am
Hi again,

I've got a ribbon tab with a group in it (with ControlsGrouping flag set), that contains 2 edit controls and 2 buttons. If there is enough space for the group the controls are always arranged in two rows like shown here:



Only if the ribbons space is resized and the space for the group is shrinked, the groups controls are rearranged in 3 rows like this:



My question: is there a possibility of forcing the group to arrange the controls always as shown in the second picture?


Thanks in advance
Stefan









Replies:
Posted By: Oleg
Date Posted: 22 August 2008 at 1:20am
Hi,
If you have last version you can add pControl->SetFlags(xtpFlagWrapRow); for controls need to wrap. (logon and edit controls)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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