PagePanel

Hello, i was trying to make a Tabbed Web Browser and i have that
But my problem is that i can’t add an action to this Browser. For example i can’t add the action “GoBack” because i don’t know how to access to the current html displayed in the PagePanel. There i put the link to download for you can see and help me. Somebody know? Thanks in Advance!

[quote=187929:@Federico José D’Andrea]Hello, i was trying to make a Tabbed Web Browser and i have that
But my problem is that i can’t add an action to this Browser. For example i can’t add the action “GoBack” because i don’t know how to access to the current html displayed in the PagePanel. There i put the link to download for you can see and help me. Somebody know? Thanks in Advance![/quote]

You manage Back and Forward with the CancelLoad event. It enables you to get all URLs of the navigation, so you can add them to an array as the user navigates. To go back, simply fetch the previous member of the array and display it.

But what i am saying is that, I need that when press a button, go back in the current HTMLViewer displayed in the PagePanel for example (can be an other action). Because this browser is with tabs,but i don’t how to access to the current htmlviewer displayed in the PagePanel, you understand?

Hi Frederico,

Have a look at https://dl.dropboxusercontent.com/u/18858366/Browser.xojo_binary_project . I’ve used a tabpanel rather than a page panel. You can add another panel by control clicking a link.

HTH
Wayne

[quote=187964:@Wayne Golding]Hi Frederico,

Have a look at https://dl.dropboxusercontent.com/u/18858366/Browser.xojo_binary_project . I’ve used a tabpanel rather than a page panel. You can add another panel by control clicking a link.

HTH
Wayne[/quote]
Thanks so much!