Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selection in a ListBox doesn't stay.
Message
 
To
07/11/2000 13:06:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00438891
Message ID:
00438944
Views:
6
>Hi,
>
>I'm using a ListBox in a form and I select one of it's item in the activate event of the form. Eventually, once the form has been loaded correctly, the user scrolls through the list and when he does, the item that was once selected is not anymore. Why is that? Why is scrolling "un-selecting" the elements in the ListBox?
>
>Thanks in advance, Stephane.
Try selecting in the init event of the ListBox. It might be interesting to have a messagebox pop in the activate event of the form. That event fires for a lot of reasons. Make sure, if you are using a character ListBox.Value to select, that it has the same length as the assigned value.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform