Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default listbox item + how to tell if nothing is selecte
Message
From
14/09/2005 13:04:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/09/2005 12:57:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01049535
Message ID:
01049539
Views:
14
This message has been marked as the solution to the initial question of the thread.
>Actually, these are 2 separate questions:
>
>How do you set a list box to default to having the first item on the list selected?
>
>And is there a way to tell whether user selected any item in the list box? (as opposed to nothing in the list box selected)
>
>Thanks all.

1) Listindex=1
2) Listindex # 0
PS: Selected(m.ix) check in a loop for a multiselect listbox.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform