Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement