On Tue, 20 March 2001, [EMAIL PROTECTED] wrote:

> 
> Bugs item #409601, was updated on 2001-03-18 14:30
> You can respond by visiting: 

> Declared var nBreite=100
> Using a listener on a layer I implemented onmousedown 
> like that:
>   nBreite=nBreite+5;
>   myLayer.setWidth(nBreite, false);
> 
> Just works fine. Also implemented ondblclick:
>   myLayer.setWidth(100, false);
> 
> Just works fine, but the first time I did a mousedown 
> again, the size will be incremented from the last size 
> it had, not from 100.


you never set nBreite back to 100 everytime you mousedown nBreite is gonna increament 
of 5 .
doesn't look like setWidth is not working to me

Y



_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to