This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Submenu in a submenu does not open when the mouse moves over it  RSS feed

Raymond du Toit
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web browser application with a favorites menu. The menu has an two options to import favorites from IE and Firefox. When the application imports favorites from IE, it places the favorites as items under the import option. If there are folders of favorites, it will add a submenu containing the favorites in the folder.
The problem I have is that after I import the favortites and it creates the submenus, some submenu's don't open the mouse pointer is moved over them.
Some menu work fine and when the mouse pointer is moved over such a, then the other submenu open fine as well, but only after selecting a submenu that listens.

I have debugged the code and the menu items are added before selecting the menu. I don't need a listener for a submenu?

Does anyone have an idea what I am overlooking?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!