Labels to size to status bar panels


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Labels to size to status bar panels

  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, 09:49 PM
  2. Non-scrolling Toolbar and Status bar
    By pescado in forum .NET
    Replies: 1
    Last Post: 03-31-2005, 05:24 PM
  3. Replies: 1
    Last Post: 07-18-2002, 11:48 AM
  4. Replies: 0
    Last Post: 09-24-2001, 11:53 AM
  5. Status bar
    By John Hall in forum VB Classic
    Replies: 4
    Last Post: 05-12-2000, 08:43 AM

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center