Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box problems
Message
 
To
07/11/1999 23:21:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00288269
Message ID:
00288798
Views:
12
Dennis,
I think you're talking about 2 problems. You can 'stuff' the listbox by putting
thisform.Mylistbox.listitemid = 1
This will highlight the first item.

Your other question seemed to be about refreshing the form when changing the value in the listbox, correct? For that, in your Listbox InteractiveChange() code you'd put
cSeek = thisform.Mylistbox.value
SELE MyTable
Seek cSeek
thisform.refresh()
Note that you are using the listbox value when you seek the correct record.

HTH
Barbara

>Barbara
>
>You seem to be getting me on the right track here. The display value is empty at first. Once I click on it the displayvalue is the row highlighted. How would you tell the list box to highlight the first row in the table at startup.
>
>Dennis
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform