Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Sizing StatusBar Pane to match text lengt
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sizing StatusBar Pane to match text lengt

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: Sizing StatusBar Pane to match text lengt
    Posted: 31 January 2006 at 6:03pm
I have a Status Bar which I have added two Panes to. The first Pane has a .Style = SBPS_STRETCH. The second Pane I have set the .Style = SBPS_STRETCH  as well as not setting it. However, when the second Pane has text added the Pane will not autosize to be large enough to hold the text. Is there a way to get the Pane to autosize to allow for any text string size I assign to the .Text property?
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: 07 February 2006 at 2:06pm

Hello,

call .Width = 0 after you change text, it will resize it to fit text.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.141 seconds.