Hello,
I have no idea how this is happening.
I have a TabControl on the form, and in one of the tabs I have a ToolStrip
with a few buttons and Grid.
Every now and then I look and the ToolStrip has disappeared, when I bring it
up in the Properties Editor the Visible value is False.
If i look into the Form.Designer.c s sure enough there is Visible = false
I have and never will set this myself.
This is driving me mad, any help?
Thanks,
Daniel 5 5552
What version of Visual Studio are you using?
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Daniel Jeffrey" <da************ **@hotmail.comw rote in message
news:Ou******** ******@TK2MSFTN GP05.phx.gbl...
Hello,
I have no idea how this is happening.
I have a TabControl on the form, and in one of the tabs I have a ToolStrip
with a few buttons and Grid.
Every now and then I look and the ToolStrip has disappeared, when I bring
it up in the Properties Editor the Visible value is False.
If i look into the Form.Designer.c s sure enough there is Visible = false
I have and never will set this myself.
This is driving me mad, any help?
Thanks,
Daniel
hey its working fine . u may missed some thing .
"Bob Powell [MVP]" wrote:
What version of Visual Studio are you using?
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Daniel Jeffrey" <da************ **@hotmail.comw rote in message
news:Ou******** ******@TK2MSFTN GP05.phx.gbl...
Hello,
I have no idea how this is happening.
I have a TabControl on the form, and in one of the tabs I have a ToolStrip
with a few buttons and Grid.
Every now and then I look and the ToolStrip has disappeared, when I bring
it up in the Properties Editor the Visible value is False.
If i look into the Form.Designer.c s sure enough there is Visible = false
I have and never will set this myself.
This is driving me mad, any help?
Thanks,
Daniel
sorry
2005 Sp1
Dan
"Bob Powell [MVP]" <bo*@spamkiller bobpowell.netwr ote in message
news:F9******** *************** ***********@mic rosoft.com...
What version of Visual Studio are you using?
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Daniel Jeffrey" <da************ **@hotmail.comw rote in message
news:Ou******** ******@TK2MSFTN GP05.phx.gbl...
>Hello,
I have no idea how this is happening.
I have a TabControl on the form, and in one of the tabs I have a ToolStrip with a few buttons and Grid.
Every now and then I look and the ToolStrip has disappeared, when I bring it up in the Properties Editor the Visible value is False.
If i look into the Form.Designer.c s sure enough there is Visible = false
I have and never will set this myself.
This is driving me mad, any help?
Thanks,
Daniel
Code from Designer.cs
this.DatabaseTa b.Controls.Add( this.DatabasesG rid);
this.DatabaseTa b.Controls.Add( this.DatabaseSt rip);
//
// DatabaseStrip
//
this.DatabaseSt rip.AllowMerge = false;
this.DatabaseSt rip.Items.AddRa nge(new
System.Windows. Forms.ToolStrip Item[] {
this.DBSaveButt on,
this.DBCancelBu tton,
this.toolStripS eparator1,
this.TestConnBu tton});
this.DatabaseSt rip.Location = new System.Drawing. Point(0, 0);
this.DatabaseSt rip.Name = "DatabaseStrip" ;
this.DatabaseSt rip.Size = new System.Drawing. Size(787, 25);
this.DatabaseSt rip.TabIndex = 8;
this.DatabaseSt rip.Text = "toolStrip1 ";
This is change changes to
this.Visible = false;
I am not really sure what I could have missed.
Dan
"Som Nath Shukla" <So***********@ discussions.mic rosoft.comwrote in message
news:5E******** *************** ***********@mic rosoft.com...
hey its working fine . u may missed some thing .
"Bob Powell [MVP]" wrote:
>What version of Visual Studio are you using?
-- -- Bob Powell [MVP] Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article.
"Daniel Jeffrey" <da************ **@hotmail.comw rote in message news:Ou******* *******@TK2MSFT NGP05.phx.gbl.. .
Hello,
I have no idea how this is happening.
I have a TabControl on the form, and in one of the tabs I have a
ToolStrip
with a few buttons and Grid.
Every now and then I look and the ToolStrip has disappeared, when I
bring
it up in the Properties Editor the Visible value is False.
If i look into the Form.Designer.c s sure enough there is Visible =
false
I have and never will set this myself.
This is driving me mad, any help?
Thanks,
Daniel
Does anyone have any idea on this.
It seems to happen when the designer moves to a different tab.
The toolstrip on the tab that just lost focus seems to then set itself to
visible = false.
I have had to put code in to ensure they are all visible when the form is
created, and this should not be needed.
Daniel
"Daniel Jeffrey" <da************ **@hotmail.comw rote in message
news:On******** *****@TK2MSFTNG P04.phx.gbl...
sorry
2005 Sp1
Dan
"Bob Powell [MVP]" <bo*@spamkiller bobpowell.netwr ote in message
news:F9******** *************** ***********@mic rosoft.com...
>What version of Visual Studio are you using?
-- -- Bob Powell [MVP] Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article.
"Daniel Jeffrey" <da************ **@hotmail.comw rote in message news:Ou******* *******@TK2MSFT NGP05.phx.gbl.. .
>>Hello,
I have no idea how this is happening.
I have a TabControl on the form, and in one of the tabs I have a ToolStrip with a few buttons and Grid.
Every now and then I look and the ToolStrip has disappeared, when I bring it up in the Properties Editor the Visible value is False.
If i look into the Form.Designer.c s sure enough there is Visible = false
I have and never will set this myself.
This is driving me mad, any help?
Thanks,
Daniel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: horos |
last post by:
hey all,
Ok, a related question to my previous one on data dumpers for
postscript.
In the process of putting a form together, I'm using a lot of
placeholder variables that I really don't care about in the submitted
action. I'd therefore
like to get rid of them by doing something like:
|
by: ColinWard |
last post by:
Hi.
I have a form which has as its recordsource an SQL string. The SQL
String is as follows: SELECT * from CONTACTS where false.
this ensures that there is no data loaded in the form when the form is
opened. After the user selects the contact from an unbound combobox I
want the form to be rebound to its recordsource.
I tried using form.recordsource = "Contacts" in the afterupdate event of
|
by: mike |
last post by:
Hi,
I'd like advice from a .NETer. I have a loadcombo
routine which sets the selectedindex to -1 if it's an "add
record", but then it goes to a security routine which,
based on permissions sets the visible property. When the
visible property is set..
'Petition Type
lblPetitionType.Visible = False
|
by: Teemu |
last post by:
I'm wondering if there is a easy way to change for example toolstrips
appearance. I'd like to have the same theme as in VB2005. Brown backgroung
instead of the light blue. Can this be done without creating own custom draw
procedure?
Somehow the theme of Visual Studio looks more professional than the original
blue color.
-Teemu
|
by: gene kelley |
last post by:
The default ToolStrip apparently renders an MS Office Style ToolStrip when the RenderMode is other
than "System". When using a BackgroundImage in the ToolStrip, this Office Style border has rounded
corners and looks like hell.
According to the Help file:
To change the Microsoft Office–style borders to straight
Override...
| |
by: halex2000 |
last post by:
Hi, I've used a toolstrip up until now for my program, but I've just
discovered that it doesn't support checkboxes. Is there a way to put one in
a toolstrip? I could also use a state button instead: a button, that is,
that keeps a 'pressed' state when clicked, and a 'released' state when
clicked again, but I don't find this functionality in the toolstripbutton
class.
Is there a solution for my problem?
Thank you!
|
by: Doc John |
last post by:
I have an MDI container with a child Form which will be visible according to
certain events. The problem is that when I set the property Visible to False
and then back to True, the Form will be in another location, or it will be
maximized.
Why does the child Form change its location when the Visible propery is set
true (after being set to False)? Why doesn't it stay with the same Size and
the same Location?
Thanks.
|
by: priyamtheone |
last post by:
In C# 2005 (.Net 2.0), while working with a toolstrip, if its TabStop property is set to TRUE and there are two comboboxes and a button in the toolstrip, why doesn't the button get any focus when the focus is moved from one control to another by pressing the TAB Key. This problem doesn't occur when the TabStop property of the toolstrip is FALSE. But I need the TabStop property to be TRUE.
Another problem is while the TabStop property of...
|
by: LukasMalik |
last post by:
Hi,
I have widely used ToolStrip in my application. I created a UserControl which contains this ToolStrip. I would rather like to use inheritance:
MyCustomControl : ToolStrip
Everything seems to work fine, untill I want to set visibility to one of ToolStripItem - there are maybe 20 buttons and not all of my ChildForms which contains this MyCustomControl need all of them. I open in designer mode in Property window "Items", choose right...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |