Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding an itme in a Listbox
Message
 
To
27/12/2000 16:45:52
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00457174
Message ID:
00457214
Views:
27
>How can I reference an item in a listbox given it's value? For example, I have a list of codes, and I want to know if code "ABC" is selected.
>
>Thanks,
>Elyse
for i = 1 to this.listcount
   if this.listitem[i,1] = 'ABC' and this.selected[i]
      * Item ABC is selected
   endif
endfor
Previous
Reply
Map
View

Click here to load this message in the networking platform