HasState(Integer)
HasState(Integer)
Characteristic |
Description |
---|---|
Icon |
|
Availability |
All non-deleted forms. |
Return type and description |
Boolean. Returns True if the form is in the state that is specified in the parameter. Specify the state using one of the following constants. The constants appear on the Constants tab and have a data type of integer.
|
Syntax |
HasState(NameOfConstant) |
Parameters |
|
Example |
The following example returns True if the form is locked: HasState(Constants.FormStates.Locked) |
Purpose |
Use this method to return the status of InForm forms. |