Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETTING LISTBOX TO DISPLAY FIELDS OF MY CHOICE
Message
From
18/11/1997 12:12:32
 
 
To
18/11/1997 10:49:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00060717
Message ID:
00060958
Views:
51
>>>>>>>>Hi. I am trying to get a listbox to display fields 1,11,13 of a dbf that has 23 fields but it seems it takes them seq. by default even though I have field1,field11,field13 listed in the rowsource.
>>>>>>>
>>>>>>>Can you tell us what are ListBox.RowSource, RowSourceType and ColumnCount properties?
>>>>>>
>>>>>>rowsource is lname,ss_num, dob
>>>>>>rowsourcetype is alias
>>>>>>columncount=3
>>>>>
>>>>>Rowsourcetype should be 'fields'. Rowsource should include alias, e.g. "table1.lname,ss_num,dob"
>>>>
>>>>OK. Thing now is that the cols are not comfortably wide enough to house the chosen fields entirely.
>>>
>>>So, make your list wider, or even use grid.
>>
>>In the properties section I was able to now. Last quest(for a while)
>>Can you choose a certain color for a certain listbox column?
>
>I don't think so, because List's column is not an object.

Sounds like you really need to be using a grid.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform