Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New at vfp: need help with listbox
Message
 
To
01/12/1997 03:14:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00062997
Message ID:
00063007
Views:
50
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform