AnnChange Event Example for Visual J++

Note: This topic is for Document/Medical only.

This example tests the AnnChange event.

private void LEAD1_annChange(Object source, LTOCXU.LEAD.AnnChangeEvent e)
{
   String str = "This is a change for the button tagged " + LEAD1.AnnGetTag( e.hObject );
   MessageBox.show( str, "NOTE", MessageBox.OK ) ;
}