Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to enter specials values in a combobox rowsource
Message
From
15/03/2004 15:19:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00886226
Message ID:
00886453
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform