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

Thanks a lot Marcia,

>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	
>
Sajjad Ahmad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform