Click here to Skip to main content
15,912,072 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Passing data between forms Pin
richiemac1-Jun-05 21:32
richiemac1-Jun-05 21:32 
GeneralRe: Passing data between forms Pin
richiemac1-Jun-05 22:37
richiemac1-Jun-05 22:37 
GeneralRe: Passing data between forms Pin
Lagwagon562-Jun-05 4:27
Lagwagon562-Jun-05 4:27 
GeneralRe: Passing data between forms Pin
Saksida Bojan2-Jun-05 20:10
Saksida Bojan2-Jun-05 20:10 
GeneralRe: Passing data between forms Pin
richiemac5-Jun-05 5:34
richiemac5-Jun-05 5:34 
Generalpanel component problems Pin
richiemac31-May-05 6:44
richiemac31-May-05 6:44 
GeneralRe: panel component problems Pin
Christian Graus31-May-05 13:49
protectorChristian Graus31-May-05 13:49 
GeneralRe: panel component problems Pin
richiemac31-May-05 21:47
richiemac31-May-05 21:47 
Sorry for the poor explanation.

I have a form (Form1), that has two panels on (panel1, panel2). This is where I'm becoming stuck. Each panel is supposed to show a number of components with some of these components being on both. I've grouped these components together and added them to another panel (panel3). Form1 has a menu item which is used to choose panel1 or 2.

So I have something like

<br />
private: System::Void menuItem1_Click(System::Object * sender, System::EventArgs * e)<br />
{<br />
this->panel1->Visible = true;<br />
this->panel2->Visible = false;<br />
}<br />


to show the appropriate panel. Now what I also need to do is add panel3 to the visible panel. So I'm doing - or trying to do - something like

<br />
if ( this->panel1->Visible == true )<br />
{<br />
this->Controls->Add( this->panel3 );<br />
}<br />


But I can only get panel3 to show itself on one panel. Either panel1 or panel2 but never both.
GeneralRe: panel component problems Pin
Christian Graus31-May-05 21:51
protectorChristian Graus31-May-05 21:51 
GeneralRe: panel component problems Pin
richiemac31-May-05 22:43
richiemac31-May-05 22:43 
GeneralRe: panel component problems Pin
Christian Graus1-Jun-05 11:11
protectorChristian Graus1-Jun-05 11:11 
GeneralRe: panel component problems Pin
Christian Graus1-Jun-05 11:12
protectorChristian Graus1-Jun-05 11:12 
GeneralRe: panel component problems Pin
richiemac6-Jun-05 0:16
richiemac6-Jun-05 0:16 
GeneralRe: OleDB Question Pin
Saksida Bojan1-Jun-05 19:34
Saksida Bojan1-Jun-05 19:34 
Generalonline users Pin
K.A.L28-May-05 3:01
K.A.L28-May-05 3:01 
GeneralOpenFileDialog Problems Pin
vajjalu27-May-05 9:54
vajjalu27-May-05 9:54 
GeneralRe: OpenFileDialog Problems Pin
Christian Graus28-May-05 12:02
protectorChristian Graus28-May-05 12:02 
GeneralRe: OpenFileDialog Problems Pin
Saksida Bojan29-May-05 4:56
Saksida Bojan29-May-05 4:56 
GeneralGUIs Pin
newprog27-May-05 0:25
newprog27-May-05 0:25 
GeneralRe: GUIs Pin
ursus zeta28-May-05 7:49
ursus zeta28-May-05 7:49 
GeneralRe: GUIs Pin
Christian Graus28-May-05 12:03
protectorChristian Graus28-May-05 12:03 
QuestionXml Question? Pin
Saksida Bojan26-May-05 18:30
Saksida Bojan26-May-05 18:30 
AnswerRe: Xml Question? Pin
Christian Graus28-May-05 12:05
protectorChristian Graus28-May-05 12:05 
GeneralRe: Xml Question? Pin
Saksida Bojan29-May-05 4:53
Saksida Bojan29-May-05 4:53 
GeneralRe: Xml Question? Pin
Christian Graus29-May-05 11:57
protectorChristian Graus29-May-05 11:57 

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.