You can see the live demo here. Window management in my demo is based in the SuperPanel extension implemented by Wietse Veenstra. Download skin ( 2027).
-
-
package {
-
-
import mx. containers. Panel;
-
import mx. core. UIComponent;
-
import mx. core. UITextField;
-
-
public class Fieldset extends Panel {
-
-
private var pTitleBar:UIComponent;
-
private var t:UITextField = new UITextField ( );
-
public var fieldsetLabel: String;
-
-
public function Fieldset ( ) { }
-
-
override protected function createChildren ( ): void {
-
super. createChildren ( );
-
this. pTitleBar = super. titleBar;
-
t. text = fieldsetLabel;
-
t. background = true;
-
t. backgroundColor = 0xD4D0C8;
-
this. pTitleBar. addChild (t );
-
}
-
}
-
}
-