Hi
I have a list box ,data coming from table and i need to select a default value in that.the Value does get highlighted but the listbox can show only 3 items at a time and if it is 5th or 6th or even more ..item then i have to scroll downmyself to see the selectde item.I need to directly setfocus on that and i should see the selected item as soon as list box gets focus.
i tried setfocus and even topindex property to set it as first item- to se it but does not work.
Any help appreciated.
Thanks
Sid
I have a list box ,data coming from table and i need to select a default value in that.the Value does get highlighted but the listbox can show only 3 items at a time and if it is 5th or 6th or even more ..item then i have to scroll downmyself to see the selectde item.I need to directly setfocus on that and i should see the selected item as soon as list box gets focus.
i tried setfocus and even topindex property to set it as first item- to se it but does not work.
Any help appreciated.
Thanks
Sid