Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox display problem
Message
De
01/05/2018 10:09:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combobox display problem
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01659661
Message ID:
01659661
Vues:
74
Hi all,

Another question I should know the answer to.

I have a ComboBox with two columns. When I select a item from the list it only displays the first column's data in the box. I would like it to display the entire line (all columns data). Is there a property(s) that I maybe in need.

Here is what I am doing so far. After this, I am adding via AddListItem the rows as two columns.
	WITH THISFORM.cboStatus
	    .ENABLED 		= llStatus
	    .TOP 			= THISFORM.HEIGHT - .HEIGHT
	    .LEFT			= 0
	    .WIDTH 		= THISFORM.WIDTH
	    .STYLE		= 2
	    .TAG			= "TW"
	    .COLUMNCOUNT	= 2
	    .COLUMNWIDTHS	= "100,"+TRANSFORM(THISFORM.WIDTH - 110)
	    .COLUMNLINES	= .T.
	    .ITEMTIPS		= .T.
Greg Reichert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform