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

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

Tags (2)
1 REPLY 1
Highlighted

how to define the size of ActiveXControl inside ArborText

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