Sizing StatusBar Pane to match text lengt |
Post Reply |
Author | |
Shawshank
Senior Member Joined: 16 October 2005 Status: Offline Points: 117 |
Post Options
Thanks(0)
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?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, call .Width = 0 after you change text, it will resize it to fit text. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |