By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

Vanishing tool strips!

P: n/a
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.
Sep 19 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"tc" <tu**@idcodeware.co.ukskrev i meddelandet
news:uf****************@TK2MSFTNGP06.phx.gbl...
>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.

Sep 19 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.