Hi There,
I wonder if somebody could please point me in the right direction.
I have added 4 columns to a fplistbox and I want to set column headings.
The problem that I am having is that the column heading line seems to be right justifying the text, whereas I want it left justified, to start in the same position as each data column.
If there a setting for specifying the column heading ajustification i.e. left or right
I am using the following to set the column headings:-
fpList1.Col = 0
fpList1.ColHeaderText = "Column N1"
fpList1.Col = 1
fpList1.ColHeaderText = "Coloumn N2"
fpList1.Col = 2
fpList1.ColHeaderText = "Column N3"
fpList1.Col = 3
fpList1.ColHeaderText = "Column N4"
And then adding items into the list using the following;-
fpList1.AddItem rstb("col1") & Chr(9) & rstb("col2") & Chr(9) & rstb("col3") & Chr(9) & FormatNumber(rstb("col4"), 0)
The data in each line seems to be justifying ok, so I would like to get the column headings using the same justification.
The result is :-
Heading 1
data 1
instead of
Heading1
data1
Thanks.