Bugs item #409601, was updated on 2001-03-18 14:30
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409601&group_id=5757

Category: Core API
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Layer.setWidth() will not work correct

Initial Comment:
I've just worked a little with Your examples and found 
a problem with setWidth() .
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.


Configs: 
  IE5.5 on Win98 SE
  NS4.x on Win95c




----------------------------------------------------------------------

Comment By: Richard Bennett (richard_bennett)
Date: 2001-03-18 15:54

Message:
Logged In: YES 
user_id=164855

are you sure it's not an implementation error? 
Wouldn't this do what you want? :

onmousedown
myLayer.setWidth(myLayer.getWidth()+5); 

ondblclick
myLayer.setWidth(100);

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=409601&group_id=5757

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

Reply via email to