altRevBrowser Noob

Bob Sneidar bobs at twft.com
Fri Feb 12 19:05:57 EST 2010


Whoops! Spoke too soon. It seems that once you click in the browser window, neither clicks nor keystrokes ever make it into the Rev engine ever again. On the Mac as well as in Windows, if the browser is not clicked, hitting the Q key will quit the app (because I trap that rawkeydown and quit). Once the user clicks however, it's game over. 

So if anyone really understands the inner workings of the altRevBrowser, could you tell me if there is any way to get the browser to allow events to get to the IDE? I would think that the browser would pass events to the IDE, but I may be mistaken. 

For the future, it might be better if the browser works within an object like a field or an image or a button, instead of splashing in front of every object. Admittedly, this is not a problem for most people, because you would never put a rev object where the browser is being rendered. 

For now I will put a small Quit button at the top of the window and that will have to suffice for now. 

Bob



> Thanks for all your help everyone. I was able to get it to work, not with a key click but with a keystroke. I just trap for rawkeydown 113 and quit the app. Too simple for my belabored brain. 
> 
> Bob
> 



More information about the use-livecode mailing list