From: Michael P. <mp...@ph...> - 2000-12-16 14:11:31
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <body bgcolor="#FFFFFF"> I'm sorry about the lack of comments in my code. It is still a WIP. <p>As for all the resizing, that is not required. All resixing of child layers is done using the resize event listener attached to the object. <p>I wanted to create an object that I could use everywhere without the need for a series of individual object with specialist functions. <p>The lyrcaption layer is required so that the borders are not lost when you change the label text. If you want to so a series of test that enable the use of sethtml when there are no borders, feel free. I just wanted to make a simple widget that enabled we to use a single object on whch to base my tables, my buttons, my nodes and everything else that required formatted text. <p>If you want, you can trim the code back to remove the borders. I personally like them to be there when I need then without having to write a second widget to do that. That would result in: <br><tt> DynLayer</tt> <br><tt> --> Cell</tt> <br><tt> --> BorderCell</tt> <br><tt> --> Button</tt> <p>I want to keep the inheritance to a minimum if at all possible. <br>-- <br>Michael Pemberton <br>mp...@ph... <br>ICQ: 12107010 </body> </html> |