Results 1 to 2 of 2

Thread: Menu index error

  1. #1

    Thread Starter
    Lively Member VB Begginer Kid's Avatar
    Join Date
    Jul 2001
    Location
    home
    Posts
    127

    Exclamation Menu index error

    here is the erorr message "menu control array element must have an index" but when i put a number in for the index it says "menu control array elements must be contiguous and within the same sub menu" please help ne ideas...if not can someone explain to me how to index things properly?
    I'm a beginner.
    ------------------------------------------------
    Your impossible ego ***** is like a
    Megalomaniacal tab on my tongue
    You *****in' touch me I will rip you apart


  2. #2
    Fanatic Member Kaverin's Avatar
    Join Date
    Oct 2000
    Posts
    930
    I sounds like you're trying to make a menu control array that has parts in different menus, sort of like this:
    Code:
    mnuA
       mnuX (with index 0)
       mnuX (with index 1)
    mnuB
       mnuX (with index 2)
    You'll need to either put mnuX(2) as a submenu of mnuA, or make a differently named submenu (like mnuY or something), as the submenu control array of mnuB.
    I'm baaaack...
    VB5 Professional Edition, VC++ 6
    Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se

    I feel special because I finally figured out how to loop midis: Post link
    I'm a fanatic too

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