I have a very strange problem when using menu items in front of Bevelbutton.
The first picture shows the main screen and two floating windows that are opened.
The two bevelbuttons are active because the two windows are opened.
All the bevelbuttons have a Action and a Mouse Enter event handler programmed.
The event handler Mouse Enter includes code that if the window corresponding to the bevelbutton is open this window will get the focus.
If listViewOpened Then frmListView.setfocus
This is done because : if several windows are open moving the mouse over the bevelbutton will set the corresponding window to the front (focus).
In the second picture the menu AllViews is opened.
If I now select a item is this menu and the cursor is above one of the active bevelbuttons this menu item will not be launched.
From menu item Clipper View and lower there is no problem.
It is difficult to explain because in the second picture when the menu is opened the active bevelbuttons are not visible.
But if they are active and behind the cursor position in the selected menu item the menu item will not launche.
!!! Removing the event handler Mouse Enter does eliminate the problem, but then the window focussing is lost …
Hope this explanation is clear.
Regards
Etienne