Hi Jin,
I suggest you to add a global variable declaration in your script file:
var target;
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 :
target.setSize(width, height);
Samuel
2008/6/4 Jin Li <jli@aplia.com>:
> How can I define the width or the height of the embedded ActiveXControl
> inside ArborText? They seem to be always the same size.
>
> Thanks.
>
>