GetMinMaxVal example for Visual J++

The following example retrieves the values for MinVal and MaxVal using GetMinMaxVal and writes the results.

// must call GetMinMaxVal first
LEAD1.GetMinMaxVal();
edit1.setText( Integer.toString( LEAD1.getMinVal() ) );
edit2.setText( Integer.toString( LEAD1.getMaxVal() ) );