Solved

Left aligning Numeric  columns  in  MS Flexgrid

Posted on 2004-10-07
5
267 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

Title # Comments Views Activity
AvlTree-Node Data type 4 23
Why is initMap returning "not a function" error. 3 65
Assignment from incompatible pointer type? 2 35
"lblTime is not declared" 3 30
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This is an explanation of a simple data model to help parse a JSON feed
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

756 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