GotFocus
Part from Form.h file
1 2 3 4 5 6 7 8 9 10 11
|
// C++/CLI //
void InitializeComponent(void)
{
//............//
this->GotFocus += gcnew System::EventHandler(this, &Form1::gotFocus);
}
//............//
protected: System::Void gotFocus(System::Object^ sender, System::EventArgs^ e)
{
label1->Text = "Focused";
}
|
What I'm missing here?
Topic archived. No new replies allowed.