Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box
Message
De
05/01/2001 16:00:14
 
 
À
05/01/2001 15:28:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00460030
Message ID:
00460053
Vues:
13
>I want to display column 2 of a multi-column combo box. Can someone please tell me what I must do to display the second column?
>
>Thanks,
>
>Lance

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.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform