control.getType()
- Last UpdatedJun 25, 2024
- 1 minute read
Use getType() method to determine the type of a control on form.
Syntax
// B1 is a Base Form object.
tRetVal = control.findById("B1").getType();
Parameters
None.
Return Value
This method returns the type of control.
Example
// Define a variable and get the type of control.
var controlType = control.findById("B1").getType();