Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box
Message
 
À
05/01/2001 16:00:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00460030
Message ID:
00460144
Vues:
12
Lance (via Trey)
To expand on Trey's information a bit--- Be sure you set the BoundColumn property to match the position of your code field - in Trey's example this would be 2. Also, if your code is a numeric ID then you may need to set the BoundTo property to TRUE.

Barbara


>The combobox always displays the first column in the RowSource - nothing says you can't turn it around to put the desired column first, though.
>For a RowSourceType of 6 (fields) or 2 (alias) - yes, 2 - you can just put the desired column first in the list, e.g., if it's field2 from the cursor
this.RowSourceType = "cursor.field2,field1"
For a RowSourceType of 3 (select) or 5 (array), you would have to reorder the fields in the code that produces said select or array.
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform