Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New at vfp: need help with listbox
Message
 
À
01/12/1997 03:14:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00062997
Message ID:
00063007
Vues:
45
>Hi! Can you help me out? I am new at VFP 5.0, just opened box a couple of days ago. I am currently using a listbox on a form, how do i determine the currently selected item in the listbox. I really, really would appreciate any advice you could give me. Thanks in advance.
Ramon,

You can use THISFORM.ListBoxName.Value which will tell you the currently selected item's value. There are other ways that depend on the rowsourcetype of the list box. if the rowsourcetype is Alias then .FieldName will tell you field value for the currently selected record in the rowsource. Making a selection in the listbox move the record pointer in its rowsource.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform