General information
Category:
Forms & Form designer
>>>I have a list box with four columns. The rowsource is a cursor which has been created at runtime by an SQL. The formatting is fine in columns containing text or a numeric value from a table; however, one column is calculated (value-another value + another value) as total.
>>>This column keeps centering itself making it very awkward to read.
>>>Any ideas how to make it aligh right?
>>
>>Have you though of switching to a grid? You can make it look like a list control, it is more efficient and you can control the widths of columns.
>>
>>To control the widths of columns in a list... put the values in the ColumnWidths property in the following form 100,50,72
>
>
>Thanks for the suggestion, but in this case a grid isn't an option. I have the columns adjusted just fine -- the problem is why a calculated field in a cursor would be displayed as centered.
Sorry about that, wasn't too awake yet. It looks like Christof found your answer.
I am interested when you say that a grid isn't an option. A list object is a subset of a grid. Anything you can do with a list you can do with a grid.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only