Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Box with more column
Message
De
16/06/2002 07:12:16
 
 
À
16/06/2002 03:23:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00668989
Message ID:
00668999
Vues:
22
Hello Sajjad.

Could you guide me how to show more than one column in list box.

You do it in exactly the same way that you do in a combo box. For example, if you are using a RowSourceType = 0-None, you can populate a 3 column list box like this in the list box's Init():
WITH This
	.Additem( 'Cleveland' )
	.List[.NewIndex, 2] = 'Ohio'
	.List[.NewIndex, 3] = '44122'
	.Additem( 'Caversham' )
	.List[.NewIndex, 2] = 'England'
	.List[.NewIndex, 3] = 'RG4 8BX'
	.Additem( 'Buffalo' )
	.List[.NewIndex, 2] = 'New York'
	.List[.NewIndex, 3] = '14228'
	.Additem( 'Milwaukee' )
	.List[.NewIndex, 2] = 'Wisconsin'
	.List[.NewIndex, 3] = '43225'
	.AddItem( 'Frostbite Falls' )
	.List[.NewIndex, 2] = 'Minnesota'
	.List[.NewIndex, 3] = '42666'
ENDWITH	
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform