Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class having ListBox but init. selection wont Highl
Message
 
À
02/12/2004 03:18:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00966268
Message ID:
00966306
Vues:
8
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
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform