How to set alignment property of Listbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neo008
    New Member
    • Jun 2007
    • 85

    How to set alignment property of Listbox

    Hi All,

    I want all items of listbox right aligned.

    I could'nt find alignment property as texbox have.

    But 'LISTs' have "RightToLef t" property which is not being set to "TRUE". I think It is overloaded.

    Ultimately How could I achieve what I want? I am using Numeric (Currency) to be shown.

    NE☼
  • cmrhema
    Contributor
    • Jan 2007
    • 375

    #2
    Originally posted by neo008
    Hi All,

    I want all items of listbox right aligned.

    I could'nt find alignment property as texbox have.

    But 'LISTs' have "RightToLef t" property which is not being set to "TRUE". I think It is overloaded.

    Ultimately How could I achieve what I want? I am using Numeric (Currency) to be shown.

    NE☼
    Right to Left property, I presume, is for language
    Try out the below link, it uses API, use it carefully

    Comment

    • neo008
      New Member
      • Jun 2007
      • 85

      #3
      Originally posted by cmrhema
      Right to Left property, I presume, is for language
      Try out the below link, it uses API, use it carefully

      http://vbnet.mvps.org/index.html?cod...nstylebits.htm
      Thanks I just check it out.


      NE☼

      Comment

      • ansumansahu
        New Member
        • Mar 2007
        • 149

        #4
        Originally posted by neo008
        Hi All,

        I want all items of listbox right aligned.

        I could'nt find alignment property as texbox have.

        But 'LISTs' have "RightToLef t" property which is not being set to "TRUE". I think It is overloaded.

        Ultimately How could I achieve what I want? I am using Numeric (Currency) to be shown.

        NE☼
        Hi ,

        I don't think that listbox has any alignment property that you can set to right align the contents.

        thanks
        -ansuman sahu

        Comment

        Working...