Formatting currency in a list box


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Formatting currency in a list box

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Formatting currency in a list box

    [Originally posted by Peter Read]

    G'day,

    I am writing a program to display cheques and invoices.

    How do I format currency in a listbox so that it is right aligned?
    I am using FormatCurrency, but the results are left aligned.

    Failing that, is there another method I could use?* Maybe the listbox is the wrong object.

    Thanks.

    Peter

  2. #2
    Join Date
    Sep 2004
    Posts
    7
    I belive that there is a property called Right to Left and the Default is No. If you change it to Yes then it will be Right Aligned.

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