On Apr 3, 2005 12:06 AM, Ghislain Simard <[EMAIL PROTECTED]> wrote:

> How to embed the label inside the border like usual fieldset?

You could create a small MXML component like this:

 <VBox>
    <Script>
        var title_mc:Label;
        function createChildren():Void
        {
            super.createChildren();

            title_mc = createClassObject(...);
        }
        function layoutChildren():Void
        {
           /* position the title_mc slight;y off the left (say 10,0) */
           super.layoutChildren();
        }
        function get viewMetrics():Object { /* override this to make
space for title_mc */ }
        function draw():Void { /* draw the square box around the title_mc */
    </Script>
 </VBox>

Something like that.  Try it out.

Manish


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to