>Thank you for the suggestions.
>
>I'm using arial font and it doesn't quite align properly using padl.
Changing it to courier works. I hope the listbox (in VFP6?) can have
column font font and align properties.
>
>>>>In a listbox with multiple columns, can one column be aligned to the
left and another to the right?
>>>
>>>Hello Alvin,
>>>
>>> There is no such in-built facility available but you can use PADL() and
PADR()
>>>while adding items to it.
>>>
>>>Bye
>>>Jayesh
>>
>>If you are tying the listbox to a table/cursor, you could try having the
field list equal an expression of concatinated fields and make sure the
listbox is of a courier (non-proportional) font.
>>
>>ex:
>>padr( fld1, 20 ) + padl( fld2, 6 ) + str( fld3, 5, 2 )
>
Have you tried setting the column widths. It would all be Left justfied.
Specifies the width of columns for a ComboBox or ListBox control. Available
at design time and run time.
Syntax
Control.ColumnWidths[ = “cCol1Width, cCol2Width, ... cColnWidth”]
Settings
“cCol1Width, cCol2Width, ... cColnWidth” Specifies the width of a column
or series of columns in the ComboBox or ListBox. For example, cColumnWidths
= “5, 7, 9” specifies that the first column is 5 units wide, the second
column is 7 units wide, and the third column is 9 units wide, in the unit
of measurement specified by the ScaleMode property of the form. Use commas
to separate each width number. You can specify the number of columns with
the ColumnCount property.
Bob Gould
Contemporary Software Systems, Inc.
1665 Briargate Blvd Ste 101
Colorado Springs, Co 80920
719 574 0300
<
http://www.pcisys.net/cssi
Bob Gould
Contemporary Software Systems, Inc.
1665 Briargate Blvd, Ste 101
Colorado Springs, CO 80920
719 574 0300