Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pictures in Listboxes
Message
From
18/12/1999 11:31:21
 
 
To
16/12/1999 11:14:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00303939
Message ID:
00305654
Views:
22
Marica,

It seems that the key problem was having the RowsourceType set to 'Fields'. With the data being pulled from the table the refresh was updating the list pictures according to their default values. To get around this I reverted to using AddListItem in a SCAN..ENDSCAN. It seems to like this better and my pictures are now staying in place.

Thanks for the input.

Dale

>I believe that what you are seeing is that the listbox is going back to its
>initial state when it regains focus. What I do in VFP 6.0 is put this code in
>the listbox's GotFocus:

> ListBox::GotFocus()
> This.RefreshList()
> NODEFAULT
Previous
Reply
Map
View

Click here to load this message in the networking platform