Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How convert win path to dos path Pin
Narenge22-May-07 11:53
Narenge22-May-07 11:53 
GeneralRe: How convert win path to dos path Pin
Dave Kreskowiak22-May-07 12:20
mveDave Kreskowiak22-May-07 12:20 
GeneralRe: How convert win path to dos path Pin
Dave Herren22-May-07 12:25
Dave Herren22-May-07 12:25 
GeneralRe: How convert win path to dos path Pin
Narenge22-May-07 23:06
Narenge22-May-07 23:06 
QuestionPanel + Groupbox Pin
codemunkeh22-May-07 10:03
codemunkeh22-May-07 10:03 
AnswerRe: Panel + Groupbox Pin
Dave Herren22-May-07 11:15
Dave Herren22-May-07 11:15 
GeneralRe: Panel + Groupbox Pin
codemunkeh22-May-07 11:22
codemunkeh22-May-07 11:22 
GeneralRe: Panel + Groupbox Pin
Dave Herren22-May-07 11:55
Dave Herren22-May-07 11:55 
I tried to duplicate your problem doing the following:

added a panel to a form
put a groupbox on the panel
put a button on the groupbox

set the visible property on all three to false.

set the visible property of all three to true on the for double click event of the form.

put messagebox.show("Test") in the click event of the button.
ran the app.
double clicked the form; The panel, groupbox, and button showed.
clicked the button and it worked.

The windows forms designed code for what I did is:
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.groupBox1);
this.panel1.Location = new System.Drawing.Point(72, 56);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(400, 320);
this.panel1.TabIndex = 0;
this.panel1.Visible = false;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Location = new System.Drawing.Point(32, 32);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(336, 264);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "groupBox1";
this.groupBox1.Visible = false;
//
// button1
//
this.button1.Location = new System.Drawing.Point(40, 48);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(88, 24);
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.Visible = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form2
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(576, 469);
this.Controls.Add(this.panel1);
this.Name = "Form2";
this.Text = "Form2";
this.Load += new System.EventHandler(this.Form2_Load);
this.DoubleClick += new System.EventHandler(this.Form2_DoubleClick);
this.panel1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);

Review your forms designer code and see if you see anything weird. If not, try and duplicate your problem in the simplest possible way and outline it as I did above.

topcoderjax - Remember, Google is your friend.

GeneralRe: Panel + Groupbox Pin
codemunkeh22-May-07 12:24
codemunkeh22-May-07 12:24 
GeneralRe: Panel + Groupbox Pin
Dave Herren22-May-07 15:45
Dave Herren22-May-07 15:45 
GeneralRe: Panel + Groupbox Pin
codemunkeh23-May-07 3:11
codemunkeh23-May-07 3:11 
GeneralRe: Panel + Groupbox Pin
Dave Kreskowiak22-May-07 17:53
mveDave Kreskowiak22-May-07 17:53 
GeneralRe: Panel + Groupbox Pin
codemunkeh23-May-07 3:16
codemunkeh23-May-07 3:16 
AnswerNB! Consider it SOLVED Pin
codemunkeh23-May-07 4:52
codemunkeh23-May-07 4:52 
QuestionHelp with an SQL statement... Pin
CCG322-May-07 9:55
CCG322-May-07 9:55 
AnswerRe: Help with an SQL statement... Pin
Dave Herren22-May-07 10:29
Dave Herren22-May-07 10:29 
AnswerRe: Help with an SQL statement... Pin
Dave Herren22-May-07 10:34
Dave Herren22-May-07 10:34 
GeneralRe: Help with an SQL statement... Pin
CCG322-May-07 10:36
CCG322-May-07 10:36 
GeneralRe: Help with an SQL statement... Pin
Colin Angus Mackay22-May-07 10:51
Colin Angus Mackay22-May-07 10:51 
GeneralRe: Help with an SQL statement... Pin
Dave Kreskowiak22-May-07 12:17
mveDave Kreskowiak22-May-07 12:17 
QuestionShowing Additions to a DataSet Pin
Quecumber25622-May-07 8:35
Quecumber25622-May-07 8:35 
AnswerRe: Showing Additions to a DataSet Pin
Marcus J. Smith22-May-07 9:39
professionalMarcus J. Smith22-May-07 9:39 
GeneralRe: Showing Additions to a DataSet Pin
Quecumber25622-May-07 9:59
Quecumber25622-May-07 9:59 
Question.NET 2005 FTP Pin
Wheatie10022-May-07 8:33
Wheatie10022-May-07 8:33 
AnswerRe: .NET 2005 FTP Pin
Dave Kreskowiak22-May-07 17:49
mveDave Kreskowiak22-May-07 17:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.