defaultIsChecked

The defaultIsChecked method The defaultIsChecked method defines whether a widget is checked by default.

 

Syntax

defaultIsChecked(System.Int32 nWidget,  bIsDefaultChecked);

 

Parameters

nWidget

Index of the widget.

bIsDefaultChecked

[Optional] Whether the widget is checked by default.

 

Return Value

Returns Value True if the method succeeds, False otherwise.

 

Remarks

Member of field.

 

Example

var obj = this.getField("acCheckBox1");
obj.defaultIsChecked(0,true);
this.resetForm(["acCheckBox1"]);