Feature Requests item #467887, was opened at 2001-10-04 07:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355757&aid=467887&group_id=5757

Category: DynAPI 2 API
Group: None
Status: Closed
Resolution: Later
Priority: 5
Submitted By: Mikkel R. Jakobsen (mikkelj)
Assigned to: Richard Bennett (richard_bennett)
Summary: DynLayer support for relative position 

Initial Comment:
After experimenting a bit with DynAPI I found that 
it's not possible to make relative positioned 
DynLayers. My approach to a specific problem calls for 
relative positioned layers and I would therefore love 
to see support for this in DynAPI.

Would it be possible to add a (private) variable named 
position to the DynLayer-object that can be 
either 'relative' or 'absolute' and two proper methods 
for getting and setting the value of the variable?


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

Comment By: David Young (hosermage)
Date: 2002-01-10 18:36

Message:
Logged In: YES 
user_id=424095

Also another useful feature will be to use the same new 
Dynlayer syntax, but also add a parameter of a panel that 
the coordinate is relative to.  For example:

layer1 = new DynLayer(null,10,10,50,50,null,null,1,null);
layer2 = new DynLayer
(null,0,0,50,50,null,null,1,null,layer1,'align-vertical');

so layer2 will actually be placed at (60,10) because the 
last parameter says I want to align it vertically.

Of course, this will be tremendously helpful is the layer's 
width and height doesn't need to be predefined.  I guess 
one can just create layer2 but relative position it to a 
loadpanel.


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

Comment By: Richard Bennett (richard_bennett)
Date: 2001-11-01 10:34

Message:
Logged In: YES 
user_id=164855

Currently you can only really do this by using an inline 
layer as a place-keeper. There are some examples on my site:

http://www.richardinfo.com/examples/php/examples.html

It looks like relative layers might soon be incorporated 
into a new Dynapi release.

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

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

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to