Page 1 of 1

How to close revBrowserOpenCef?

Posted: Thu Feb 05, 2015 4:33 pm
by tamazaraptor
Hi,
I'm a beginner at LiveCode. I've been playing with revBrowserOpen and revBrowserOpenCef. When trying to close the browser, I've found that reBrowserClose only works when you have used revBrowserOpen. Does revBrowserOpenCef have a corresponding close command? I can't seem to find a revBrowswerCloseCef-type command in the Dictionary.
Cheers!

Re: How to close revBrowserOpenCef?

Posted: Thu Feb 05, 2015 5:21 pm
by Klaus
HI tamazaraptor,

1. welcome to the forum! :D

2. Just made a test here on my Mac with LC 6.7.1 and "revbrowserclose" worked as exspected with "revbrowseropenCEF"!?
Add an answer dialog right after revbrowserclose..., maybe this will give us a hint:
...
revbrowserclose...
answer the result
...
Are you using LC 7.x?


Best

Klaus

Re: How to close revBrowserOpenCef?

Posted: Fri Feb 06, 2015 6:22 pm
by tamazaraptor
Hi Klaus,
Thanks for your reply! I am using LC7.0.2. I've since tried it again, and it works sometimes, but other times it actually crashes the program when I use revbrowseropencef. I'm happy using the revbrowseropen and revbrowserclose anyway! When I use that, answer the result comes up as empty? Should it have a value?
Thanks :)

Re: How to close revBrowserOpenCef?

Posted: Fri Feb 06, 2015 7:34 pm
by Klaus
When I use that, answer the result comes up as empty? Should it have a value?
No, EMPTY result means success!
Or at least LC did not notice something slipping through :D