Results 1 to 12 of 12

Thread: [RESOLVED] [2005] StatusBarStrip?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Resolved [RESOLVED] [2005] StatusBarStrip?

    I am trying to insert 3 different StatusLabels in my statusbarstrip. My problem is that I wish for 2 of them to appear on the right side of the statusbar and the 3rd statuslabel to appear on the left but can't seem to get it to work like that. What properties do I need to set and in which object; statusbarstrip or statuslabel?

    Thanks,
    Blake

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] StatusBarStrip?

    Quote Originally Posted by blakemckenna
    I am trying to insert 3 different StatusLabels in my statusbarstrip. My problem is that I wish for 2 of them to appear on the right side of the statusbar and the 3rd statuslabel to appear on the left but can't seem to get it to work like that. What properties do I need to set and in which object; statusbarstrip or statuslabel?

    Thanks,
    Hi,

    Here's a link how to add labels to your Statusstrip:

    http://search.msdn.microsoft.com/sea...tatusbarpanels

    Hope it helps,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: [2005] StatusBarStrip?

    Sparrow,

    Unfortunately, that link didn't show me what I needed. Any other ideas?

    Thanks,
    Blake

  4. #4
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Re: [2005] StatusBarStrip?

    Quote Originally Posted by blakemckenna
    I am trying to insert 3 different StatusLabels in my statusbarstrip. My problem is that I wish for 2 of them to appear on the right side of the statusbar and the 3rd statuslabel to appear on the left but can't seem to get it to work like that. What properties do I need to set and in which object; statusbarstrip or statuslabel?

    Thanks,

    Create 4 StatusLabels and set the Spring property to true for the second one on the left.
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: [2005] StatusBarStrip?

    Circuits,

    I tried what you said and it still didn't work. I went into the StatusStrip Collections and added for statusLabels and set the Text property to "Test 1, Test 2, Test 3, Test 4" respectively and set the Spring property of Test 3 to true. Please see my attachement as this is what it looks like now.
    Blake

  6. #6
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] StatusBarStrip?

    Hi,

    This link should be better to understand how to create Toolstripstatuslabels:

    http://msdn2.microsoft.com/en-us/lib...atuslabel.aspx

    Hope it will help you this time.

    Wkr,

    sparrow1
    Last edited by sparrow1; Aug 17th, 2007 at 12:19 PM.
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  7. #7
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: [2005] StatusBarStrip?

    Blake, is labels going to be the only thing in the statusstrip?

  8. #8
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: [2005] StatusBarStrip?

    Check the picture, is it what you are looking for?

    I made the statusstrip control RightToLeft. Then the last label I set the spring property to true then set the textallign property to middleright.
    Attached Images Attached Images  

  9. #9

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: [2005] StatusBarStrip?

    Got a couple of ideas from it.

    Thanks,
    Blake

  10. #10

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: [RESOLVED] [2005] StatusBarStrip?

    Zales,

    That's exactly what I'm lookin' for, except I only need 3 statuslabels. Let me give it a try.

    Thanks
    Blake

  11. #11

    Thread Starter
    PowerPoster
    Join Date
    Jan 2004
    Location
    Southern California
    Posts
    5,034

    Re: [RESOLVED] [2005] StatusBarStrip?

    Zales,

    I got it.

    Thanks for your input.
    Blake

  12. #12
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: [RESOLVED] [2005] StatusBarStrip?

    I'm glad you got

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width