can't find alignment property

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • W03L
    New Member
    • Mar 2008
    • 4

    can't find alignment property

    Hi.

    I created a CLR windows forms application and can't find alignment property for listBox to make it auto align to a top.
    For other components like progressBar, richTextBox there is also no this property.

    Can you tell me where it may be?
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What do you mean by "auto align"?
    You can specify it's starting location (X,Y coord of the top left corner)
    You can specify that it Dock (I think, it should be available?)
    And you can have it Anchor.

    Some combination of those is surely what you are after.

    Comment

    • W03L
      New Member
      • Mar 2008
      • 4

      #3
      Auto align is autosize of component on form width and height.
      example, if this property (alignment) set to top, component autosized on top of form if form was resized.
      Also there is values left, right, bottom and client.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Sounds like anchor to me....

        Comment

        • W03L
          New Member
          • Mar 2008
          • 4

          #5
          thanks, i've got it :)

          Comment

          Working...