Solved

Left aligning Numeric  columns  in  MS Flexgrid

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Starting up a Project

615 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