Results 1 to 3 of 3

Thread: Dinamic Menu with Sub-Menu

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    Salvador, BAHIA, BRASIL
    Posts
    1

    Exclamation Dinamic Menu with Sub-Menu

    Helo ALL,

    I'm need your help!

    I'm trying to create a menu dinamic with the folow structure:

    1- Name: MnuBlank, Caption: "", Index:"" (this is a top popup)
    2- Name: MnuOptions, Caption: "" (defined by code), Index: 0 (to create news menus with load)
    3- Name: MnuSubOptions, Caption: "" (defined by code), Index: 0 (to create news menus with load)

    In the form_load the code will read from two tables, one have the code of Options and your Id. The code will read another table to get SubOptions Id, Cod of Option linked to, an the Caption.

    But when i load the mnuOptions(x), the submenu is not load with this.

    Can Anybode help-me??

    [] Sorry. but my English is not so good []
    -

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    Not at work at the moment so cannot do anything specific to help.
    I thought this thread might help. It contains some links to other threads on menus and example programs some people have attached.

    http://www.vbforums.com/showthread.p...hreadid=235520

  3. #3
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    I've done it, the code I've written is kinda sloppy, the concept is confusing when you're starting, and some API is required (unless you want to just do control arrays of menus), but here it is: http://www.vbforums.com/showthread.p...t=dynamic+menu . I've attached a project that makes truly dynamic submenus.

    Oh yeah, you want "dynamic", not "dinamic" ;P

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