Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class having ListBox but init. selection wont Highl
Message
De
02/12/2004 06:46:28
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:
00966328
Vues:
8
>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.

Fields or alias, honestly I don't know the difference and never worried about it. My favorite is using SQL (I can format and order the way I want and still yet have access to all columns that're not part of listbox columns)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform