Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array value
Message
From
28/01/2018 18:16:06
 
 
To
28/01/2018 13:06:00
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01657596
Message ID:
01657601
Views:
58
I would add the values to the combobox as follows:
thisform.combobox.AddListItem("My First Value", 100)
thisform.combobox.AddListItem("My Second Value", 200)
thisform.combobox.AddListItem("My Third Value", 300)
The above displays a value to the user (the first parameter) and the second parameter is the ListItemId. In your case assign the numeric value as the ListItemId for each item added. To get the value the user has selected, you now use:
lnUserSelectedValue = thisform.combobox.ListItemId
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform