We start with the VBScript function call in GuiXT scripts, a feature that is useful in its own right and in its application to ActiveX controls.

This is how you proceed: