Help? linkfunction to Inetbrowser detail

J. Landman Gay jacque at hyperactivesw.com
Mon Jan 19 14:00:33 EST 2009


Kresten Bjerg wrote:
> 
>  	 	With Inetbrowser as one substack I designed a button, which creates Url-link-buttons in another substack.
>  They work fine, when the InetBrowser stack has been opened before, and when it has'nt, they also work fine in debugging-mode,
>  -but the moment I leave debugging mode, (and  browserstack not yet opened) they end up in  the abloadUrl handler on the lines:
>  	 	"if the altBrowserState of this stack is true then
>       revBrowserSet the altBrowserId of this stack,"url",pUrl
>                  else....."
>  	 	with error: Unknown browser Id.
> 
>  	 	As I dont get this error when debugging and honestly:have not understood the intricate interplay of the many handlers 
> on the "testcard"of the downloaded Inetbrowser.rev, I have to ask for help.

When you first open the browser, an ID is returned. You need to 
reference that ID in other calls. Are you setting the ID to the 
"altBrowserID" custom property of the stack so the scripts can use it later?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list