ui.Interface.getFrontEndName()

ui.Interface.getFrontEndName() returns the type of the front end currently used.

Syntax

ui.Interface.getFrontEndName()

Parameters

takes no input arguments

Possible values

lyciadesktop.html5

the application is run via LyciaDesktop

lyciaweb

the application is run via LyciaWeb

Usage and examples

ui.Interface.getFrontEndName() returns the type of the front end currently employed to run the application. The returned value can be one of the STRING values given above.

The method is typically used for debugging purposes.

The example code given below will produce a message displaying the name of the front end:

MAIN

DEFINE fname STRING

  LET fname= ui.Interface.getFrontEndName()

  CALL fgl_winmessage("ui.interface.getFrontEndName()", fname, "info")

END MAIN

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.