LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2007, 09:40 PM   #1
chrisliando
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
Question Visual C++ accessing components on other form


Hi I am Chris and I'm working on an application with more than 1 form. I have a List View and a Tree View on form1, a button and a Text Box on form2. The flow is when I click the button on form2 the Tree View on form1 will create a new node. I've tried this: but it generates error.

private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
Form1->treeView1->Nodes->Add(textBox1->Text);
}

What should I do?

Thank you very much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid Question: Microsoft Visual Studio 6.0 (A.K.A. Visual Basic 6) Will it run? S0RD3N Linux - Software 8 05-07-2008 08:42 PM
C# and accessing Form functions from other ones vargadanis Programming 1 04-11-2007 05:00 AM
running Visual Basic/Visual Fox Pro in Linux? depam Linux - Software 9 02-11-2006 03:42 PM
Mozilla 1.6 Firefox 0.8 crash when accessing form controls. QtCoder Linux - Software 3 09-05-2004 07:01 PM
Accessing other app values from Visual Basic .Net jpbarto Programming 2 10-11-2003 07:19 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration