Print Page | Close Window

SOLVED: Statusbar xtpThemeRibbon Panes

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=10549
Printed Date: 05 May 2024 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Statusbar xtpThemeRibbon Panes
Posted By: Aaron
Subject: SOLVED: Statusbar xtpThemeRibbon Panes
Date Posted: 08 May 2008 at 2:50am
Hi,
 
When statusbar set to xtpThemeRibbon:
 
*    Width of the pane is too small
*    Button width is to big
 
See attached screenshot
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Replies:
Posted By: Oleg
Date Posted: 08 May 2008 at 3:11am
Hello,
Its divider drawn in button space. use devider after stretched pane.


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


Posted By: Aaron
Date Posted: 08 May 2008 at 6:37am
Hi,
 
All my panes are streched but I have still the button in right area.


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Aaron
Date Posted: 09 May 2008 at 6:06am
Hi,
 
Oleg, this isn't about some setting, the visual parts have to be reviewed
Well see for yourself. I have created a test project to see what happens.
 
Do not resize, just the ToDo thingies
 
First start the app:
Notice the difference of position button <> divider
Button is to wide as well
 
ToDo: Remove comment BeginGroup in code
Restart app:
Notice the difference of position button <> divider = different then before
 
ToDo: Check Button
All dividers disappear !!
 
ToDo: click Pane 5
Just after the RibbonDivider there is an ordinary divider drawn and if you hoover pane 4 then the button fits right in. 
 
 
Well try some different settings you will find more. I'm sure
 
https://forum.codejock.com/uploads/20080509_060641_frmMain.zip - uploads/20080509_060641_frmMain.zip


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Aaron
Date Posted: 18 July 2008 at 3:37am
Hi,
 
Is this fixed? Please respond !!!!!!!!


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 18 July 2008 at 4:50am
Hi,
 
Please add margin for this item:
 
sbStatusBar.pane(4).SetMargins 0, 0, 4, 0


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


Posted By: Aaron
Date Posted: 18 July 2008 at 5:37am
Hi,
 
Thanks, my original problem is solved with this property (when using RibbonDivider).
 
The SetMargin property behaves differently on panes on left side of RibbonDivider with same Setmargin values.
 
To test this please add: 
 
    For i = 0 To 5
    Set pane = sbStatusBar.AddPane(i)
        pane.Button = True
        pane.Style = SBPS_STRETCH
        pane.Text = "I am pane " & i
        pane.BeginGroup = True
        pane.Width = 0
       
pane.SetMargins 4, 0, 4, 0
    Next i
 
 
in my test project.
 
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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