IonicWind Software

IWBasic => General Questions => Topic started by: Andy on October 06, 2011, 05:45:27 AM

Title: How to add a new window in the Browser_Test2 program
Post by: Andy on October 06, 2011, 05:45:27 AM
Hi,

If I added a new button called "History", how could I amend the Browser_test2 example to open a new window at the left hand side, the same way the browser is re-sized to include a history window, so that someone could browse the history, and once clicked again revert back to the original browser window.

I have a method of recording the history - so thats not a problem, just the new window.

Can anyone help?

Thanks,
Andy.




Title: Re: How to add a new window in the Browser_Test2 program
Post by: LarryMc on October 06, 2011, 11:26:42 PM
If I understood you correctly the attached should be pretty much what you are looking for.

To open the history window click the history tab.

The history window will appear in the left side of the existing browser window.

You can use the LoadHistory function to load the list of urls.

Double-click an entry which will open that url in the browser and the history window will disappear.

LarryMc
Title: Re: How to add a new window in the Browser_Test2 program
Post by: Andy on October 07, 2011, 05:51:02 AM
Hi Larry,

Thanks very much, yes that is exactly it!

Prefect,

Thanks again,
Andy.
:)