I have a form (Form2) that I want to write text at the top of (In the blue field where you normally can can tell what the windows/forms name is)

I thought it should be like this but I cant find "Form2" after this->
What I can find is Form2_Load and form5instance.
But none of these will work to use.

this->Form2_Load = "write something"; //Does not compile

this->form5instance.Text = "write something"; 
//This does compile but no text is written in the blue field.

Recommended Answers

All 3 Replies

can you just do

Form2->Text = "write something";

I managed to write this and it works:

Form2::Text = "write something";

can you just do

Form2->Text = "write something";

thats it ^^ havent done .NET in a long time

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.