Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you programmatically select an item in a list box
Message
De
04/04/2000 00:28:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/04/2000 07:18:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00353912
Message ID:
00354807
Vues:
14
Either set node's selected property to .t. or set drophighlight to node.
Cetin


>How do you do the same in aa treeview
>Peter
>
>
>>>I have a list box. It has a sql row source, and no control source. I want to programatically make a particular item selected. I've tried all sorts of ways but none of them work.
>>>
>>>Any ideas? All help appreciated.
>>
>>
You can set its value, displayvalue or listindex.
>>
myListbox.Value = "SomeValueFromSQLCursor"
>>myListBox.Value = 5 && 5th item
>>myListBox.ListIndex = 10 && 10th item
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform