Prev: static and inheritance
Next: URL web service
From: Hector Santos on 31 May 2010 12:18 I am not sure if I will be describing this right without seeing it. Overall I don't wish to be modifying the form1.designer.cs to make corrections all the time. I have a form with tabs control. In one of the tabs (last one), it has in its tab panel: ToolStrip1 - Docked to Top SplitterContainer1 - Vertical Docked to Bottom TreeView1 - Splitter Panel 1 (left) Dock to Panel RichTextBox1 - Splitter Panel 2 (right) Dock to Panel Here is what happens. Intermittently, it appears to happen when I load form1.cs [design], the ToolStrip1 seems to be go out of order, like to the "Send to the back" and you don't see it any more. In other words, its like the SpitterContainer1 is docked to the entire tab panel. I have to play around by undocking all, sending controls back or to the front in order to get the order right and be able to dock it all correctly. I don't know if this is a bug, or maybe I should be using different containers or layouts, in other to get the above. Any tips, comments, suggestions? -- HLS
From: Hector Santos on 31 May 2010 14:28 I think I know *what* happens which gives me a quick fix. *Some how* the ToolStrip1.Visible property becomes FALSE when you load the form1.cs [design] page. Making it TRUE again, restores the visibility and layout. Sounds like a IDE designer mite. It is intermittent and I can say that might contribute to it is a form with many controls on it. Essentially: Form1 Panel1 - Docked top Static Panel2 - Docked Fill TabControl - Docked Fill Tab1 Static CheckBox1 CheckBox2 CheckBox3 Tab2 PropertyGrid - Docked Fill Tab3 Listbox - Docked Fill Tab3 ToolStrip1 - Docked Top SplitterContainter1 - Docked Fill SplitterContainter1.panel1 - left side TreeView1 - Docked Fill SplitterContainter1.panel2 - right side SplitterContainter2 - Docked Fill SplitterContainter2.panel1 - top Static Static Static SplitterContainter2.panel2 - bottom RichTextBox - Docked Fill StatusStrip1 - Docked Bottom When I load this with the IDE, there a slow flickering, and intermittently, it sets ToolStrip1.Visible = false. Hector Santos wrote: > I am not sure if I will be describing this right without seeing it. > Overall I don't wish to be modifying the form1.designer.cs to make > corrections all the time. > > I have a form with tabs control. In one of the tabs (last one), it has > in its tab panel: > > ToolStrip1 - Docked to Top > SplitterContainer1 - Vertical Docked to Bottom > TreeView1 - Splitter Panel 1 (left) Dock to Panel > RichTextBox1 - Splitter Panel 2 (right) Dock to Panel > > Here is what happens. > > Intermittently, it appears to happen when I load form1.cs [design], the > ToolStrip1 seems to be go out of order, like to the "Send to the back" > and you don't see it any more. > > In other words, its like the SpitterContainer1 is docked to the entire > tab panel. > > I have to play around by undocking all, sending controls back or to the > front in order to get the order right and be able to dock it all correctly. > > I don't know if this is a bug, or maybe I should be using different > containers or layouts, in other to get the above. > > Any tips, comments, suggestions? > -- HLS
|
Pages: 1 Prev: static and inheritance Next: URL web service |