List Box Right Alignment - is it possible?

  • Thread starter Thread starter mitja
  • Start date Start date
M

mitja

Hi,
I am using a sub to create a list in a form. There are a few columns with
numbers and I need them right aligned. Is it possible?
Thanks
Mitja

Code:
Me.ListN.ColumnCount = 6
Me.ListN.ColumnWidths = "0cm;4cm;4cm;4cm;4cm;4cm"
Me.ListN.ColumnHeads = True
Me.ListN.RowSource = "SELECT DISTINCTROW ....
 
Hi,
I am using a sub to create a list in a form. There are a few columns with
numbers and I need them right aligned. Is it possible?
Thanks
Mitja

Code:
Me.ListN.ColumnCount = 6
Me.ListN.ColumnWidths = "0cm;4cm;4cm;4cm;4cm;4cm"
Me.ListN.ColumnHeads = True
Me.ListN.RowSource = "SELECT DISTINCTROW ....

See:
http://www.lebans.com/justicombo.htm
 
I am using a sub to create a list in a form. There are a few columns with
numbers and I need them right aligned. Is it possible?

A listbox isn't the ideal tool for this purpose - could you consider using a
Continuous subform, with textboxes (which can be right aligned)?
 
Back
Top