revBrowser usage

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kotikoti
Posts: 72
Joined: Tue Apr 15, 2008 7:35 pm

revBrowser usage

Post by kotikoti » Thu Mar 25, 2010 10:37 pm

Hi all,
Please point me in right direction on how this is used. Learning from the supplied sample and put together own rev file but can't see where I am going wrong
Stripped down the original file and only have code as follows in the card itself and the tabs. Idea is the "Information" and "Tips" tabs would close the browser item.
Going in circles trying to understand the supplied sample's implementation hence just simplifying my own.

Appreciate responses
Attachments
BrowserTest.zip
2.9rev zip
(2.08 KiB) Downloaded 298 times
Build 160
Version 2.9.0
Platform: Windows

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: revBrowser usage

Post by Mark » Sat Mar 27, 2010 2:56 pm

kotikoti,

Your stack seems to work fine.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

kotikoti
Posts: 72
Joined: Tue Apr 15, 2008 7:35 pm

Re: revBrowser usage

Post by kotikoti » Sat Mar 27, 2010 3:51 pm

Hi Mark,
thanks for the response. I am puzzled for it does work now, but one item still remains, every now and then the browser returns an information message

"Navigation to the webpage was cancelled"

but still the page opens afterwards. have tried to include wait statements for upto 10 seconds before running

Code: Select all

wait 2 secs
revBrowserRedraw the altBrowserId of this stack
but still this pops up, any way to remove this?

Thanks
Build 160
Version 2.9.0
Platform: Windows

Post Reply