Hi,

Ok, thanks, I will try.

— 
Stan Busk - Software Engineer
at Max Programming, S.L.U.
https://www.maxprog.com


> On Apr 9, 2019, at 11:20 AM, Christian Schmitz 
> <supp...@monkeybreadsoftware.de> wrote:
> 
> 
> 
>> Am 09.04.2019 um 02:05 schrieb Stanley Roche Busk <maxp...@mac.com>:
>> 
>> Hi,
>> 
>> Is there something in MBS to send a keyboard shortcut to a Xojo control? I 
>> need to send a Command-F to an HTMLPreview control on macOS and the 
>> equivalent in Windows. RemoteControl?
> 
> Depends on how you need it.
> You can of course just run JavaScript event dispatch on the website.
> 
> 
> var o = document.getElementById('xxx'); 
>        if (document.createEvent) { 
>                var evt = document.createEvent('Events'); 
>                evt.initEvent('change', true, true); 
>                o.dispatchEvent(evt); }
> 
> 
> This sends change event, but maybe you can do a key down similar way.
> 
> Sincerely
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to