Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to enter specials values in a combobox rowsource
Message
De
15/03/2004 15:19:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00886226
Message ID:
00886453
Vues:
25
>You must use .AddItem() to add this values:
>
> DIMENSION myItems[3,2]
> myItems[1,1] = "TAB"
> myItems[1,2] = 9
> myItems[2,1] = ";"
> myItems[2,2] = 44
> myItems[3,1] = ","
> myItems[3,2] = 59
>
>WITH thisform.Combo1
>    .RowSourceType = 1
>    FOR i = 1 TO ALEN(myItems,1)
>        .AddItem("  ")
>        .AddListItem(myItems[i,1],i,1)
>        .AddListItem(myItems[1,2],i,2)
>    ENDFOR
>ENDWITH
>
Great !
Thanks Borislav !

Steph
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform