Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List - selected item
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011428
Message ID:
00011440
Views:
34
>>>How do I programmatically change the selected item on a list control, when I do not know the IndexID?
>
>>One way to do it is
>>
>>For I = 1 to listcount
>> if listitem match searchvar, then select it
>
>Yep, that's what I'm doing, only I was sure that was just a workaround. Thanks anyway.

I'm not surprised you're already doing this, but you never know...but then I never thought of it as a workaround, rather just an easy way to get the update done...you could do it more directly by using additem, I suppose...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform