OnAnnChange Event example for C++ Builder
//This example tests the OnAnnChange event.
void __fastcall TForm1::LEADAnn1AnnChange (L_HANDLE hObject)
{
AnsiString Msg;
Msg= " This is a change for the button tagged " + IntToStr(LEADAnn1->AnnGetTag (hObject));
ShowMessage ( Msg ) ;
}