Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox recordsource question
Message
De
07/02/2003 16:39:30
 
 
À
07/02/2003 16:14:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00750751
Message ID:
00750826
Vues:
16
Thanks for the explanation Carole. I tried this, but it didn't work.
* In the combobox init
WITH This
   .AddListItem('<Sin Definir>')
   .List(.ListCount,2) = ' '
   .AddListItem('Matriculado')
   .List(.ListCount,2) = 'M'
   .AddListItem('Reservado')
   .List(.ListCount,2) = 'R'
ENDWITH
We met in GLGDW, remember? How are you? Thanks again.

Alex

>Hi Alex,
>
>I use the addlistitem property when the rowsourcetype is 0-None. Like this:
>
>
>with this.lstleft
>  * put on the left
>  for lncnt = 1 to alen(laleftpopulate,1)
>    .addlistitem(laleftpopulate(lncnt,1))
>    .list(.listcount,2) = transform(laleftpopulate(lncnt,2))
>  endfor
>endwith
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform