Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SOLVED: Statusbar xtpThemeRibbon Panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Statusbar xtpThemeRibbon Panes

 Post Reply Post Reply
Author
Message
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Statusbar xtpThemeRibbon Panes
    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....
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: 08 May 2008 at 3:11am
Hello,
Its divider drawn in button space. use devider after stretched pane.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
 
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....
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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: 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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.172 seconds.