Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddItem() method
Message
From
01/03/1998 10:54:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00081942
Message ID:
00081964
Views:
13
>How add two column's values into ComboBox?
>
>Code:
>AddItem("xxx", 1, 1)
>AddItem("yyy", 1, 2)
>
>gives me
>| |yyy|
>|xxx| |
>
>instead
>|xxx|yyy|
>
>Thanx in advance.
>
>Giedrius
* Commandbutton.click
ThisForm.List1.additem("xxx"+ltrim(str(ThisForm.List1.listcount+1)),;
                       ThisForm.List1.listcount+1,1)
ThisForm.List1.list(ThisForm.List1.listcount,2) = "yyy"+;
                       ltrim(str(ThisForm.List1.listcount))
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform