开发者

Flex How to use forms/modules

What is lifecycle of flex' forms ?

Lets say, everything is simple for desktop app (c++,c#,java). We have a lot forms 开发者_开发知识库(classes), we have a main gui thread, on events we open/close forms, show/hide them, send them data via function calls or etc

But Does flex have another approach?

What is the best solution to have main form and a lot of children, switching between them?


Use a ViewStack for this, but make sure to set the creationPolicy to auto or none.

Setting it to all might have serious performance impact.

Other navigator components like Accordion and TabNavigator have the same kind of functionality.

Cheers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜