Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box how to set a value
Message
From
15/12/2003 20:50:47
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00859380
Message ID:
00859384
Views:
15
Right on man!
Thanks alot.
Peter

>Try the ListIndex property.
This.Listindex = 2
>
>>After using VFP since ever, I have never done this:
>>I fill alistbox with 2 columns, using .AddItem() etc. in a builder
>>Everything works fine, exept when I fill existing data into the controls.
>>
>>How do I set a value in a listbox which does not have a value and is not bound.
>>eg:
>
>>Federal Taxes    |T1
>>State Taxes      |T2
>>Local Taxes      |T3
>
>>now hen I fill I know that column2 is'T2'
>>
>>How can I make tthe 2nd item higlighted(selected)??
>>
>>Thanks in Advance
>>
>>
>>Peter
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform