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 03:18:32
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:
00966306
Views:
7
Hi Cetin

>myListbox.listindex = 1

ListIndex was not available at design-time so I set it up in myListBox.Init() and it worked. Thanks a lot. Also this listbox does not really have a control source, is it necessary? It is working anyway.

While we are at it, also the next time round when this form is opened the index reverts to the first record anyway I can get it to stay the next time round in the last selected record. I have stored the iID of the record in the form for current usage and then later stored in the goApp application object. Anyway to make it remember the selection?

Please advise.
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