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

Managed C++/CLI

 
GeneralRe: Write to Access Database using C++ and OleDB connection Pin
Stefan Baens26-Aug-07 20:39
Stefan Baens26-Aug-07 20:39 
QuestionListview header spanning 2 rows Pin
kani9823-Aug-07 7:42
kani9823-Aug-07 7:42 
AnswerRe: Listview header spanning 2 rows Pin
Giorgi Dalakishvili23-Aug-07 8:11
mentorGiorgi Dalakishvili23-Aug-07 8:11 
GeneralRe: Listview header spanning 2 rows Pin
kani9823-Aug-07 8:31
kani9823-Aug-07 8:31 
AnswerRe: Listview header spanning 2 rows Pin
Mark Salsbery23-Aug-07 10:21
Mark Salsbery23-Aug-07 10:21 
GeneralRe: Listview header spanning 2 rows Pin
kani9823-Aug-07 11:54
kani9823-Aug-07 11:54 
GeneralRe: Listview header spanning 2 rows Pin
Mark Salsbery23-Aug-07 12:01
Mark Salsbery23-Aug-07 12:01 
QuestionTextBox control populates but does not display Pin
BuckBrown22-Aug-07 11:37
BuckBrown22-Aug-07 11:37 
Hi again, I am using Visual Studio 2005 C++/CLI. I have a form that I want to display statistical information. There is a TextBox control on the form named textBox1. When I click on the menu selection to display the statistics form the following code is executed...

private: System::Void waferMapStatisticsToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e)
{
Stats^ statistics = gcnew Stats(); // instantiate a new statistics Form object
TextBox^ text_box = gcnew TextBox(); // instantiate a new TextBox object

text_box->Text::set("This is a test");
statistics->textBox1 = text_box; // this does set the value of textBox1 to "This is a test"
statistics->Text::set("DIALOG TITLE STRING"); // this does change the forms title
statistics->ShowDialog();
}

If I step through the code I can see that the value of the textBox1 control on the statistics Form changes, but when I ShowDialog() the statistics Form title changed but there is nothing displayed in textBox1. I have also tried using statistics->Update() and have tried setting the value of textBox1 through a property definiiton. The results are the same. This seems to be trivial and intuitive but alas. Does anyone know why the textBox1->Text is not displaying on the statistics Form?

Thanks

Buck
AnswerRe: TextBox control populates but does not display Pin
Luc Pattyn22-Aug-07 13:54
sitebuilderLuc Pattyn22-Aug-07 13:54 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:12
BuckBrown23-Aug-07 5:12 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:27
BuckBrown23-Aug-07 5:27 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:41
BuckBrown23-Aug-07 5:41 
GeneralRe: TextBox control populates but does not display Pin
Luc Pattyn23-Aug-07 5:48
sitebuilderLuc Pattyn23-Aug-07 5:48 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:58
BuckBrown23-Aug-07 5:58 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 6:05
BuckBrown23-Aug-07 6:05 
GeneralRe: TextBox control populates but does not display Pin
Luc Pattyn23-Aug-07 12:52
sitebuilderLuc Pattyn23-Aug-07 12:52 
QuestionForward Declaration and no appropriate default constructor Pin
BuckBrown20-Aug-07 9:02
BuckBrown20-Aug-07 9:02 
AnswerRe: Forward Declaration and no appropriate default constructor [modified*2] Pin
Mark Salsbery20-Aug-07 9:16
Mark Salsbery20-Aug-07 9:16 
GeneralRe: Forward Declaration and no appropriate default constructor [modified*2] Pin
BuckBrown20-Aug-07 12:16
BuckBrown20-Aug-07 12:16 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
Mark Salsbery20-Aug-07 12:21
Mark Salsbery20-Aug-07 12:21 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
Luc Pattyn20-Aug-07 13:44
sitebuilderLuc Pattyn20-Aug-07 13:44 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
George L. Jackson20-Aug-07 14:40
George L. Jackson20-Aug-07 14:40 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
Luc Pattyn20-Aug-07 14:53
sitebuilderLuc Pattyn20-Aug-07 14:53 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
George L. Jackson21-Aug-07 0:21
George L. Jackson21-Aug-07 0:21 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
iddqd51521-Aug-07 3:46
iddqd51521-Aug-07 3:46 

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.