RUNMODE property (System)
Description
Specifies if the Presentation Server was started in runtime mode or not. This property is normally set by the “runMode” option in the RXI file, or the /RN command-line switch.
Property Value
This property is an integer value:
• 0 or null. Runtime mode is not specified – allows Development mode to be set.
• 1 – Runtime mode – allows any app to run
• 2 – Runtime mode – allows only a specific app to run
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get/Set | No | No | No |
Remarks
Constants for use with the RUNMODE property can be found in the PS_SYSTEM_EQUATES insert record.
Example
RunMode = Get_Property( "SYSTEM", "RUNMODE" )
See Also
Starting the Presentation Server, DEVMODE property.