[AccessD] right align values in a list box

Charlotte Foust cfoust at infostatsystems.com
Mon May 14 18:15:07 CDT 2007


You'd have to do it by left padding the individual values as strings.
If there are any decimals involved, it becomes problematic to line whole
numbers and decimals up.

Charlotte Foust 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Billy Pang
Sent: Monday, May 14, 2007 3:11 PM
To: Access Developers discussion and problem solving
Subject: [AccessD] right align values in a list box

Hello:

Just wondering is it possible to right-align values in a list box.  I
have a column (integer data type) that is left-aligned in the listbox
and it is hard to read:

for example:

Column1:
10
1,000
50

I would like it to show:

Column1:
     10
  1,000
     50

Is that possible?

thanks in advance,

Billy

--
Billy Pang
http://dbnotes.blogspot.com/
"Once the game is over, the King and the pawn go back in the same box."
- Italian proverb
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list