Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting listbox from a cursor
Message
 
 
To
17/01/1999 15:34:18
Bly Beach
Discovery Unlimited, Inc.
Arnoldsville, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00177002
Message ID:
00177045
Views:
55
>>>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
Map
View

Click here to load this message in the networking platform