9 Replies Latest reply on Sep 16, 2010 2:14 AM by DivyaMahendran

    How to make  menuBar UI listen for top level click





              The  menubar only listen to the sub level menu item(i mean click), and I  would like to make menubar listen to top level also.

      for eg:

      NEWS-> worldnews.

      it listen the sublevel item worldnews ,i would like to make top level NEWS also.


      I  tried using selected index. sometimes  -1 was returned when I clicked  the “NEWS” item.  I assume this is because it has sub-menu items.


      can anyone give solution for this???????