I suggest you to add a global variable declaration in your script file:
Then in your xxx_OnInitialize function, add the line :
target = Application.Event.target;
You can now resize the ActiveXControl anywhere by using the setSize method :
2008/6/4 Jin Li <email@example.com>:
> How can I define the width or the height of the embedded ActiveXControl
> inside ArborText? They seem to be always the same size.