Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show memo field in combo?
Message
De
06/07/2001 08:50:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/07/2001 08:39:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00527370
Message ID:
00527379
Vues:
20
* 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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform