ImgControl_FinalizeΒΆ

Cleanup a ImgControl form object.
ImgControl_Finalize(controlName)
controlName Text The name of the ImgControl form object.

Cleanup a ImgControl form object.

This method must be called when the ImgControl instance is destroyed in order to clean up the widget’s internal context.

Typically called during the On Unload event of the host form.

Note

Forms created in the Form Editor do not have the On Unload event checked by default, so make sure that the event in enabled in the form properties.