Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.mylistbox1.refresh
Message
 
To
23/02/1998 16:41:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00079959
Message ID:
00080584
Views:
68
>>>>>Timothy, may i guess what you can do?
>>>>>Throw away all Listbox.Refresh() and Listbox.Requery() and issue:
>>>>>Thisform.List1.Value=Table1.Field1
>>>>>assuming that Table1.Field1 is list.rowsource
>>>>
>>>>Ed, what exactly does this do? Can you seek a certain record with this method and have the listbox's record pointer go there?
>>>
>>>Any time you work with List or combo, you should go to Rowsource first, i.e. if you moved pointer there (e.g. as result of SEEK) then the only thing you need to show this record value is to say 'Listbox.Value=Table.Field'
>>
>>What I was hoping to do was seek the record of choice, then skip 5 records and display it from there. Does this seem viable with the above described method?
>
>Do you mean that you want to show current listbox item as 5 records from the SEEK point? It's not a problem, but why do you want this?

Yes, it's what I want so that the seek'ed' record is about in the middle of the listbox rather than at the bottom.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform