Vanishing tool strips!

  • Thread starter Thread starter tc
  • Start date Start date
T

tc

I have an app with a main form. On this form I have a tab page, 4 tabs.
All this is fine.

On tab one I have a couple of grids and buttons etc, and a tool strip at the
top of the tab section. This is fine.

On tab two I have anothe grid, some more buttons, and another tool strip,
again at the top of the tab section. But, this tool strip vanishes as soon
as I take focus away from it. If I click it again in the components area at
the bottom of the GUI it comes back.

If I run the app it never appears. There are no differences in setup
between the strip on tab one or two and it has been working until today.

Any ideas?
Cheers.
 
Sounds like your "ToolStrip" is actually a ContextMenuStrip. ContextMenu's
behave like that. They're only visible in the designer when you click their
icon in the components area and disappear when you focus on something else.
When they're visible they look exactly like a MenuToolStrip, though.
Try adding a MenuToolStrip - and make sure you pick the right component in
the toolbox... :-)

Cheers,
Johnny
 
Back
Top