开发者

Flex How to use forms/modules

开发者 https://www.devze.com 2023-03-13 07:17 出处:网络
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 fo

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

精彩评论

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