Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show memo field in combo?
Message
From
06/07/2001 08:50:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/07/2001 08:39:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00527370
Message ID:
00527379
Views:
18
* This method I added to one of my classes based on ComboBox
* Method: ComboBox.AddOption()
lParameters lcText, lcValueSaved
This.AddItem(lcText)
This.ListItem(This.ListCount,2) = lcValueSaved
If you don't want to create a class and a method, the commands should be something like:
This.AddItem("Text for first column")
This.ListItem(This.ListCount,2) = "Line from memo field"
If you use method in some other form object, replace "This." with "ThisForm.MyComboBox.".

Hilmar.

>Hi,
> Thank you for suggestion. How about showing memo field in 2nd column of combobox?
>
>Thank you
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform