Results 1 to 1 of 1

Thread: Dynamic Menu in VB.Net

Threaded View

  1. #1
    DirkAG
    Guest

    Dynamic Menu in VB.Net

    Hi,

    I've build a class that generates a MainMenu from a database/SQLDataReader.

    Then I pass this MainMenu to a Form's MainMenu. This all works fine, but when I want to raise an event when the Main Menu gets clicked, it does not have such an event. I am not referring to individual MenuItems on the MainMenu but rahter to the MainMenu self that gets clicked.

    How can one dynamically raise such an event ?

    Thanks,
    Dirk
    PS. I include the Form that contains the mnuMain control that gets populated by the class with MenuItems dynamically.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width