Raymond Irving <[EMAIL PROTECTED]> wrote:

> Hello Everyone,
> 
> Some time ago I started creating a new type of Layer
> that would improved on DynLayer's features, but now
> I've scrapped that idea to just fully support and
> improve DynLayer as a low level layer for the api.
> Below you'll find a few functions I had in mind.
> 
> I'm wondering if I should add these functions to
> dynlayer_xxx.js files as the average user will most
> likely use them on a regular basis, or should I add
> them to a separate class library (e.g.
> DynLayerXtender)?

I prefer extending DynLayer in one file only.

> setAutoSize(b) - set the size of the layer whenever
> content changes
> 
> setMinimumSize(w,h) - prevents the layer from being
> sized below the specified. This is useful when
> creating widgets that should not be set below a
> certain size. 
> 
> setDragMode(b,boundry) - enable/disable dragging.
> Easier than DragEvents.enabledDragEvents, etc
> 
> setEnabled(b) - disable/enable a layer
> 
> setBorder(w,c)  - Set a border on the layer. w=int or
> {top,right,bottom,left},  c = string or
> {top,right,bottom,left}
> 
> setFocus(b) - sets the focus of a layer.

Will setFocus raise z-index on a layer to be the highest?
Or did you mean something else?

> setToolTip(text) - set's a tool tipe for the layer.
> this will cause tool tip to appear when the mouse is
> moved over the layer.

Plus setAutoRaise(b) to raise z-index onmouseover?

> What do you think?

I like these additions.
Kevin.


> Raymond Irving
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to