Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LISTBOX shows only one line. How to fix it?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00059004
Message ID:
00059570
Views:
36
>Gerry really (sorry, Jim)
>
>Did you make the display area *LARGE* enough to accommodate several (up to 7) items in a list, or did you make it only one line big and expect it to expand when activated?
>
>In other words, ListBox does *NOT* expand/contrac like a ComboBox.
>
>Cheers,
>Jim N
>
>t. >>>>The Title asks it all!
>>>>Jerry,
>>>>
>>>>As other have said, the title may say what you need to know but it gives us nothing to go on in answering you. What kind of listbox, what is the rowsourcetype setting, what is the rowsource, what is the columnwidth setting, in other words tell us about your listbox.
>>>
>>>mmm... I was brief because i assumed (applies to me, not you :-) ) that I had encountered a known misbehavior in the list box.
>>>There are five values entered in the rowsource and the rowsourcetype is set to 1 - value. The listbox will not show all five values, but behaves more like a spinner box. I replaced the listbox with a dropdown combo and got the effect I was wanting, but I asked about the listbox to see if I misuderstood how to use it or if this behavior was a 'feature'.
>>>
>>>Thanks for your reply,
>>>Jerry
>>Jerry,
>>
>>I just made a listbox, set the rowsourcetype to 1-value and entered "apples,oranges,pears,bananas" (without the quotes) as the rowsource and had all the items show up.

That's my problem, Jim, Thanks!
Nebraska Dept of Revenue
Previous
Reply
Map
View

Click here to load this message in the networking platform