473,473 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Vanishing tool strips!

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
1 1150
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Greg | last post by:
There is a repeating issue of controls vanishing from a form in the Dev environment which is starting to get annoying. What happens is that I will have a form open in the IDE. The form will have...
7
by: Andrew Ducker | last post by:
My unhandled exceptions seem to just vanish. If I put the line: int x = int.Parse("XXX"); in (which generates an exception, obviously) then the code that's executing just vanishes, leaving me...
0
by: Michael | last post by:
After trying to load my java applet from <OBJECT> tag (rather than <APPLET> tag), it renders fine, except when you click between the DESIGN view then back to HTML view, the <PARAM NAME="ARCHIVE"...
8
by: Adam Honek | last post by:
Hello, I have an app that starts in sub main() I am making a new instance of a form so it can be displayed. It compiles fine but when the program is run the form shows up but then a split...
2
by: Linda | last post by:
Greetings, I am experiencing a problem similar to that mentioned in <a...
8
by: mjf | last post by:
I need to come up with a tool to compare the table definition and/or its data before and after some modification to the DDL or some tests (that change the data). Does DB2 come with such a tool, or...
10
by: Adam Honek | last post by:
Hi all, Controls such as the tree view or list view use image lists hence I can set the quality of icons to 32bit. This way they look their best. Unfortunately both the menu and tool bar strip...
2
by: mark4asp | last post by:
The first intem in a DropDownList is vanishing! My code to load a DropDownList is shown below. Yet when I load the page after a postback there is no zeroth item present. ...
36
by: TC | last post by:
I've used Access for many years. Several times, I've encountered a bug which I refer to as the "Vanishing Joins" bug. When it happens, joins vanish randomly from queries. More specifically, all...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.