Class ScriptOptions : get Method


varies get( String strID )

Summary

Get the value of an option, or the default value if no other value has been set. The return value type depends on the option type.


Remarks

This function replaces app.getSetting(), which is now deprecated.


Parameters

ParameterDescription
String strID ID of the option you want to get.


Examples

Code taken from the default viewManager.onProgrammeDoubleClick handler.

f( app.scriptOptions.get( "DoubleClickNavigateToGrid" ) )
{
this.locateProgrammeInGridView( programme );
}
else
{
this.showProgrammeInfoPopup( programme, point );
}
i


See Also

  • App : getSetting
  • ScriptOptions : set


    Requirements

    1110