Is there an function or operation on the LONGRANGE form object that can be run via JavaScript to show the system menu?
Use case: Offline application exclusively use of WebViews serving local html, css, and js and local database. I am considering removing the title bar as long as I can programatically dsiplay the system menu.
Thanks in advance,
Edward
(RDMLX) Web View Menu Control
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: (RDMLX) Web View Menu Control
If by "system menu", you mean the LR Settings (where you configure profiles etc), yes you can.
Have a look at the "ClientCommand" operation in the doco below:
http://www.longrangemobile.com/docs/lrp ... ommand.htm
Please see code example below how to invoke from JavaScript.
Let us know how you go with this.
Have a look at the "ClientCommand" operation in the doco below:
http://www.longrangemobile.com/docs/lrp ... ommand.htm
Please see code example below how to invoke from JavaScript.
Code: Select all
var options =
{
operation:
{
type: "ClientCommand",
command: "SETTINGS"
}
};
LONGRANGE.Form.runOperation(options);
Re: (RDMLX) Web View Menu Control
Hi Tony,
I was thinking of how to display the application main menu...but this may offer an even better alternative.
Thanks,
Edward
I was thinking of how to display the application main menu...but this may offer an even better alternative.
Thanks,
Edward