Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Question regarding Ribbon and resizing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Question regarding Ribbon and resizing

 Post Reply Post Reply
Author
Message
StefanM View Drop Down
Newbie
Newbie


Joined: 21 April 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote StefanM Quote  Post ReplyReply Direct Link To This Post Topic: Question regarding Ribbon and resizing
    Posted: 21 April 2011 at 9:27am
Hello NG,

we use the Ribbon Menubar within one of our VB6 Projects. The Ribbon is placed on a MDI Form. There are several Tools that only use a caption but no icon in Ribbongroups. When i size the MDI-Form so that not all tools are visible the tools without icons are not displayed correctly. They appear as empty tool in the ribbongroup

Her you see the Mainform of the application sized pretty small. The Button with the Tooltip Mitarbeiter Listenansicht is not displayed correctly. The group to the right of Mitarbeiter behaves correctly and shows it's content as dropdown ...

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2011 at 1:28pm
you don't have icon for this button ? or it disappear after resize ?
set manually style Control.Style = xtpButtonCaption to show caption always.

btw. did you call Ribbonbar.EnableFrameTheme  - extra caption doesn't look best.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2011 at 1:28pm
Also you might try to set AllowReduce to False for group
Back to Top
StefanM View Drop Down
Newbie
Newbie


Joined: 21 April 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote StefanM Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2011 at 2:14am

Hello,

i have no Icon for this tools, the style of of the tools is set to xtpButtonCaption. When the group has enough space to show it's content everything is fine.

When i size the form smaller the Ribbon does not correctly applies the same behaviour like the group Mitarbeiter Suchen/Filtern (show a dropdown). The caption of the tools just disappear. Here is a screenshot with both states

You can see, when the group has not enough space the labels are displayes like Tools with icons.
 
The Option AllowReduce is no option .. this just looks ugly Embarrassed
I've provided an icon for all tools as solution, but i think the behaviour of the toolbar is not correct.
 
By the way, it's a great toolbar and i enjoyed the switch from activebar3 with this first project very much.
 
Thanks in advance for your help
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.155 seconds.