Disko Forum logo Login  |  Register  |  Lost Password
nested menus

neeohw
Posts: 14
graphgraph

nested menus 4 Years, 1 Month ago  
Any ideas on how to create nested menus? I would like to have a menu with items that can have submenus. I'm finding it difficult since I am not able to get the navigation right. Currently I use childwindows for the submenus ...
 
  The administrator has disabled public write access.
nested menus

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:nested menus 4 Years, 1 Month ago  
Hello neeohw,

that's hard to describe in general. Maybe you can explain what you want to achieve in more detail. If you could attach some example code, it would be even better.

Do you want to have a menu and when you click on one item another menu is displayed?
Then your approach by using childwindows is reasonable. In the onClick handler of the first menu you call show() on the childwindow containing the other menu. We are using this method a lot.

As I said, when you describe your idea more detailled, we can come up with some example code as well.

Best regards,
Matthias
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop