Solved

Left aligning Numeric  columns  in  MS Flexgrid

Posted on 2004-10-07
5
271 Views
Last Modified: 2008-02-01
By  Default text alignment  (Numbers)  are  right  justified  in MS Flexgrid.
Plz  tell  the solution   for  left  justifying  to  numbers.

|----------------|---------------|
| Name           | Age            |
|----------------|---------------|
| Raja             |              20 |
| Ravi             |              25 |
| Raju             |              30 |
|----------------|---------------|

For instance, in the above table "Age" column is aligned to right by default. I've to left  align it.

TIA
ponnusamy
0
Comment
Question by:C_Ponnusamy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 1

Expert Comment

by:mrloumrlou
ID: 12249701
Try:
Format$(123, "@@@@@@")   --------- right justify "   123"
Format$(123, "!@@@@@@")  --------- left justify   "123   "
0
 
LVL 1

Expert Comment

by:mrloumrlou
ID: 12249842
or just add a space before your number.

" " & iTheNumber
0
 

Author Comment

by:C_Ponnusamy
ID: 12256706
Dear mrloumrlou ,

                     Format$(123, "@@@@@@")   --------- right justify "   123"
                      Format$(123, "!@@@@@@")  --------- left justify   "123   "

       is  not  working.  it  produces  an  error.  
 
I have i  find  solution  for  my  question.
We  directly  use  "SetcellAlignment"   function   in  the  program.
 U  can see  details  of this  in  the  following  link location
http://briz.infotools.ru/html/027/grid_cells.htm


Thanks & Regards,
Ponnusamy.C
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12502628
PAQed, with points refunded (80)

modulo
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A short article about problems I had with the new location API and permissions in Marshmallow
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

734 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