Results 1 to 4 of 4

Thread: Wierd menu problem

  1. #1

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Wierd menu problem

    I had a couple of objects in the menu, I deleted some of them and re-created them with the EXACT same name.

    Now when I double click on them, it shows the name and a 1 so mnuItem_Click_1 instead of just _Click_

    Now I have to copy and paste the rpevious code into this.

    How can I make it so when I click it will actaully use the Subs for the menu names I've used before?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I hate this . I'm having same trouble , what I do is just deleting previous Event Sub and doubleclick the new control and generate same a Sub with the same name .

  3. #3

    Thread Starter
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by Pirate
    I hate this . I'm having same trouble , what I do is just deleting previous Event Sub and doubleclick the new control and generate same a Sub with the same name .
    That seems to work... I remember VB doing something wierd like this back in VB6, I would of figured it was totally fixed or something..

    Bah o well, thanks.... again lol

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    You'll notice that when you delete the control, the event handler sub is still there, but the Handles clause is removed. What you can do is either do what Pirate said and delete the old sub, or just add in the Handles clause manually.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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