Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best approach for listbox on values
Message
De
13/07/2001 12:11:20
 
 
À
13/07/2001 12:06:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00529536
Message ID:
00530339
Vues:
31
>>You can only have one column when using type 1-Value.
>>I prefer using type 5-array myself.
>
>I think you can have more than 1 column. The following works:
>
>Put a ListBox on a form. Write the following in Init():
>
>
>This.AddItem("Option 1")
>This.ListItem(This.ListCount,2) = "A"
>This.AddItem("Option 2")
>This.ListItem(This.ListCount,2) = "B"
>
Sure, this way you can.
But that's not what I said - you're not *really* using RowSourceType=1 (Value), since you haven't set the RowSource to a comma-delimited list at design time.
In effect, you are using RowSourceType=0 (none) in this example.
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