DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005
    Posts
    1

    Labels to size to status bar panels

    I have four labels above a status bar that has 4 statusbarpanels(0) - (4).

    Label1 Label2 Label3 Label4
    ________________________________________________________

    Panel(0) Panel(2) panel(3) panel(4)
    _________________________________________________________

    I need help with code where if the panels grow or shrink the labels also grow and shrink. Thanks.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Rather than labels, I would position a second status bar directly above the first one. Configure its panels the same, but set its SizingGrip property to False, and add a 16-pixel wide fifth panel in order to line up with the panels on the lower bar.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. scrolling status bar message
    By megafishgac in forum Java
    Replies: 2
    Last Post: 06-26-2005, 08:49 PM
  2. Non-scrolling Toolbar and Status bar
    By pescado in forum .NET
    Replies: 1
    Last Post: 03-31-2005, 04:24 PM
  3. Replies: 1
    Last Post: 07-18-2002, 10:48 AM
  4. Replies: 0
    Last Post: 09-24-2001, 10:53 AM
  5. Status bar
    By John Hall in forum VB Classic
    Replies: 4
    Last Post: 05-12-2000, 07:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links