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