Status strip label placement

Posted on 2012-08-14
Last Modified: 2012-08-14
Hi Experts,

I have placed a status strip on my From and I have added two labels to it. I now want to place the label along the tool strip but can not find how to do so. They left align by default but I would like to place them where I want. For example label1 placed 100 pixels from the left and label2 300 pixels from the left.
Question by:DColin
    LVL 69

    Expert Comment

    by:Éric Moreau
    just add a label of 100 pixels wide that you will not used as a spacer
    LVL 49

    Accepted Solution

    Set the AutoSize property to false
    Set the size to 100,Height
    Set TextAlign property to right.

    This might not make it exactly 100px because of the size of the font so you would need to account for that. You can work this out by adding the label and then checking in the properties for what the autosize width is (before you change the AutoSize property) - you can then use that value to work out the rest.

    Using the above do the same for the second label taking into account width of first label etc.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now