Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding for a List Box Display
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00652055
Message ID:
00652152
Views:
14
What're you trying to acomplish?

>Hi,
>
>In a combo box I can search for a value by using the following code.
>
>
>
>for x = 1 to cboBank.listcount
>   cboBank.ListItem = x
>   if cboBank.ListItem = gcBank Then
>      Exit
>   EndIf
>
>Next
>
>
>
>When I try to do the same in the ListBox the ListItem does not seem to increment and thus doesn't find the matching value.
>
>What am I doing wrong.
>
>Thanks for your time and patience.
>
>Michael Brennan-White
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform