AD
Administrator
Syncfusion Team
March 11, 2005 05:07 PM UTC
Hi Herwert
You can add the event handler in the designer like in C# or by code like this:
Add this at least after the InitializeComponent() member
this->barItem1->Click += new System::EventHandler(this, barItem1_Click);
private: System::Void barItem1_Click(System::Object * sender, System::EventArgs * e)
{
}
Regards
Thomas
>Hello,
>
>How do I add BarItem Click events in C++? The Tutorial Help tells me how to do it for C# and VB but not how to do it for C++. Is there a way of doing it simular to those of C# and VB or do I have to program manual?
>
>Kind Regards
>Herwert.