Print Page | Close Window

Control Layout in Ribbon Group

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=16099
Printed Date: 06 October 2024 at 12:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Control Layout in Ribbon Group
Posted By: ejapi
Subject: Control Layout in Ribbon Group
Date Posted: 28 January 2010 at 2:41pm


I have a question regarding the layout of controls in a RibbonGroup.  I would like the controls to be layed out as shown in the bottom example (created using mspaint).  However, I'm only able to get the controls to be layed out vertically or horizontally (as in the first picture).  How can you get the layout as shown?



Replies:
Posted By: shipwreck
Date Posted: 06 February 2010 at 3:10pm
I'm not sure of the exact coding for this and I will try to find it.

But I've noticed that when you add you icons (Depending on the size) can alter the layout similar to what your looking for.

-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6


Posted By: chrisABC
Date Posted: 13 February 2010 at 6:18am
I move controls around the Ribbon Group by adding some dummy controls (set to not visible) as spacers.

-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: shipwreck
Date Posted: 13 February 2010 at 4:00pm
That would work. Great suggestion Chris, I used that with normal toolbars but not in the Ribbon. I'll try that sometime too. :]

-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6



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