<[EMAIL PROTECTED]> wrote:
> What are you adding to your VBox? If it's empty, nothing will get
> displayed. And it's not possible that code after that line just
> doesn't get executed, unless you're getting a runtime exception
*and*
> catching it and ignoring it.
VBox is empty. OK - I know it will not show up when empty. But the
problem is:
I have two methods in my custom datagrid header renderer:
public function doCompelete(e:Event):void
{
this.constructWidget();
this.text = " Ä";
}
private function constructWidget():void
{
columnsWidget = PopUpManager.createPopUp(DisplayObject
(Application.application), VBox, false) as VBox;
}
In this case ' this.text = " Ä"; ' will not be executed. When I
change:
columnsWidget = PopUpManager.createPopUp(DisplayObject
(Application.application), VBox, false) as VBox;
to:
columnsWidget = PopUpManager.createPopUp(DisplayObject
(Application.application), List, false) as List;
everything works fine. So thats why I'm asking. Object with presented
methods extends from mx.controls.Label so this.text is pointing to
text on Label.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

