How to close revBrowserOpenCef?

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
tamazaraptor
Posts: 12
Joined: Thu Feb 05, 2015 4:25 pm

How to close revBrowserOpenCef?

Post by tamazaraptor » Thu Feb 05, 2015 4:33 pm

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!

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: How to close revBrowserOpenCef?

Post by Klaus » Thu Feb 05, 2015 5:21 pm

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

tamazaraptor
Posts: 12
Joined: Thu Feb 05, 2015 4:25 pm

Re: How to close revBrowserOpenCef?

Post by tamazaraptor » Fri Feb 06, 2015 6:22 pm

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 :)

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: How to close revBrowserOpenCef?

Post by Klaus » Fri Feb 06, 2015 7:34 pm

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

Post Reply

Return to “Mac OS”