Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox recordsource question
Message
From
07/02/2003 16:39:30
 
 
To
07/02/2003 16:14:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00750751
Message ID:
00750826
Views:
17
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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform