Results 1 to 4 of 4

Thread: [RESOLVED] ToolStrip Items disappeared... please help

  1. #1

    Thread Starter
    Hyperactive Member squatman's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    337

    Resolved [RESOLVED] ToolStrip Items disappeared... please help

    Hi,

    I have no idea what has happened, I didn't see them disappear I was just looking through my forms an noticed them gone.

    The strip itself is still there, but not buttons or items show on it.

    I tried pasting it in from an earlier backup, but all the items got given default names, so I looked in the properties to the right and all my controls are listed there, even in the code they are all there with no errors or warnings. They are all set to visible and enabled... I just can't understand whats happened, or how to get them back, or how to even delete them and copy across the backup...

    Any help would be greatly appreciated.

    Thanks.

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,394

    Re: ToolStrip Items disappeared... please help

    Take a look here. Is that what you're talking about?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  3. #3

    Thread Starter
    Hyperactive Member squatman's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    337

    Re: ToolStrip Items disappeared... please help

    Oh man you god!

    Yes that was it!

    The add items code was missing.
    vb Code:
    1. Me.MenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.MnuFile, Me.MnuCode, Me.Mnu2WordSearch})

    That other post was fairly recent too, I'm lucky!

    Thanks a lot dday9.

  4. #4
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,394

    Re: ToolStrip Items disappeared... please help

    No problem, it's just crazy I remembered the issue. Just be sure to mark the thread resolved under thread tools.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

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