Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox and Remote View problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00303849
Message ID:
00303964
Views:
21
>Hi, I have a listbox whose data source is a list of fields from a remote view. I also have textboxes bound to the same fields of the currently selected row of the remote view. In the LostFocus method of these textboxes I have two lines: 1) TABLEUPDATE(etc..) and 2)thisform.ListBox.Refresh
>
>After changing the contents of the first textbox, the data is updated,the listbox is "refreshed" correctly and the focus goes to the next textbox without a hitch. After changing the second textbox, the data is updated, the row disappears from the listbox and the focus goes onto the next textbox.
>
>How can I stop the row disappearing from the listbox? Please help.
>
>Rgds

If the contents of the List bos is a list of fields, I do not understand why you need to refresh the listbox after leaving each textbox. The field names are not changing so your list box source should not be changing.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform