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 05:57:20
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:
00966327
Vues:
10
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
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform