WarningOn Property

Description
Returns status of the Controller warning state.

Syntax
ReadOnly Property WarningOn As Boolean

Return Value
True if the Controller is in the warning state, False if not.

See Also
WarningCode Property

WarningOn Example
VB Example:

If m_spel.WarningOn Then  
    lblWarningStatus.Text = "ON"  
Else  
    lblWarningStatus.Text = "OFF"  
End If  

C# Example:

if (m_spel.WarningOn)  
    lblWarningStatus.Text = "ON";  
else  
    lblWarningStatus.Text = "OFF";