开发者

Use multiple WebBrowser tabs for 1 flex Application

开发者 https://www.devze.com 2023-01-15 17:54 出处:网络
I\'m developing a flex application to view charts and statistic data about real-time stock price. The requirement is that 1 user can view multiple windows (or panel, or canvas) of multiple stock symbo

I'm developing a flex application to view charts and statistic data about real-time stock price. The requirement is that 1 user can view multiple windows (or panel, or canvas) of multiple stock symbols at the same time.

I want to have 1 button, when I click at that button, a new panel will be pop up in a new WebBrowser tab. 1 user ca开发者_如何学Gon open 5 or more panels like that in 5 more webbrowser tab to see 5 different stocks. And all 5 panels must be managed by the main Application. So that the Application can send stock price data to those 5 panels.

After days searching, I still cannot find out a way to do that, please suggest me something?

Thank you a lot, Henry


If the requirement is that you use tabs in a browser, then you've got some fun ahead of you.

Only way I could see this working, is if the main application fired off URL Requests for a secondary app which it then communicated with through a LocalConnection.

There are a couple of easier ways if you relax the requirements a little. Using URL parameters means you could pass the stock you are looking to follow into each new instance of the application without needing LocalConnection.

Of course, you could just have a tabbed interface inside your Flex app, and not require new browser windows at all!


I would definitely not go about this way. Creating multiple tabs is OK, but not when you need full control and integration over these parts.

I would create floating panels in the same application with a tabbed navigation or something of this sort.

Take a look at this image:

Use multiple WebBrowser tabs for 1 flex Application

as you can see, the user is seeing one screen, but he has also 2 tabs (windows) at the bottom which he can expand or collapse.

the context is the same context, it is the same application.

0

精彩评论

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