4 Replies Latest reply on Aug 17, 2006 8:32 AM by frickin_chicken

    Extending Panel titlebar

    TheProduct
      I am trying to extend the Panel object to add control buttons to the upper right hand corner of panel (in the titleBar)

      I basically copied the source code for a similar operation in the adobe example: Flex Store Application

      by adding the following code to my panel object:

      ...
      [Bindable]
      private var dbTitleBar:DashBoardTitle = new DashBoardTitle ();
      ....
      override protected function createChildren():void
      {
      super.createChildren();
      this.titleBar.addChild(dbTitleBar);
      }

      When I run the application, nothing shows up at the top of the panel? How do I get the titlebar component to show up?