I have a button on a form that, when clicked, makes a list box visible. (The feature is meant to simulate a drop-down menu or sub menu.)
I have two questions although the first is the important one.
1. How do I make the list box control become invisible when the mouse moves away from it?
I've tried, the on-click event, the lost-focus event, the mouse-move event. Nothing seems to work quite right. I understand I have to move the focus to another control before I can make the current one invisible, but even this errors out most of the time.
2. Is there a way to "highlight" each list box option as the mouse moves over it?
Again, simulating a drop-down menu feature.
Using the After Update event, each of my list box options opens an individual form when it's clicked.
Once the an option in the list box is chosen, the list box should become invisible and the correct form should open.
Right now I have the form opening, the focus moving to another control on the form and the listbox visible property setting to false. It errors out when the focus tries to go to another control.