cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

how to define the size of ActiveXControl inside ArborText

jli1
1-Newbie

how to define the size of ActiveXControl inside ArborText

How can I define the width or the height of the embedded ActiveXControl inside ArborText? They seem to be always the same size.

Thanks.

1 REPLY 1

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.
>
>
Announcements