IASForm::Remove

This method removes a control from a form.

Syntax

HRESULT Remove( IDispatch *pdispControl );

Parameters

pdispControl
Pointer to the control to be removed.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

IASForm::Remove calls IASControl::Close for the control being removed.

See Also

IASControl::Close