Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Class having ListBox but init. selection wont Highl
Message
 
To
02/12/2004 05:57:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00966268
Message ID:
00966327
Views:
11
Hi

>No doesn't need any controlsource.
>You could set it in form.init. If rowsourcetype is something that's a cursor (fields,SQL,quer,alias) then as you move in listbox you're moving the pointer in listbox (listindex = 1, recno() of underlying cursor is 1)

I am using the table directly as fields and specified the field names (or should I have used alias, as I just tried it and still the list works as before)

>myListBox.ListIndex = recno('cursorName')

Okay I will set this in the Init for the form.

Thanks a lot for your help.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform