General information
Category:
Forms & Form designer
>I have a form with 5 listboxes (one for each day). Users select a particular record from a particular day this way. My problem is that when a user moves from one listbox to another, the selection they may have made stays highlighted, so when they go on to another listbox and select a record there are 2 or more highlights showing on the form. How do I unhighlight selections in a listbox that has lost focus? Anyone know?
>
>Thanks,
>Diana
>
>dgard@musician.org
I believe the command is:
thisform.listbox1.selected(nIndex) = .f.
where nIndex it the item number of the highlighted item
BTW, setting it to .t. allows you to programmatically highlight items in other list boxes based on a selection etc.
Rock Jensen
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only