FLEX皮肤:经典WINDOWS

 

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).



 
   
  1.  
  2. package {
  3.  
  4. import mx. containers. Panel;
  5. import mx. core. UIComponent;
  6. import mx. core. UITextField;
  7.  
  8. public class Fieldset extends Panel {
  9.  
  10. private var pTitleBar:UIComponent;
  11. private var t:UITextField = new UITextField ( );
  12. public var fieldsetLabel: String;
  13.  
  14. public function Fieldset ( ) { }
  15.  
  16. override protected function createChildren ( ): void {
  17. super. createChildren ( );
  18. this. pTitleBar = super. titleBar;
  19. t. text = fieldsetLabel;
  20. t. background = true;
  21. t. backgroundColor = 0xD4D0C8;
  22. this. pTitleBar. addChild (t );
  23. }
  24. }
  25. }
  26.  

 

 

来自:http://www.mindtheflex.com/?p=3

你可能感兴趣的:(windows)