TX Text Control ActiveX

FormCheckBoxInsert Method

Method

This method inserts a checkbox field into the document at the current text input position.

Introduced: 28.0.

Syntax

TXTextControl.FormCheckBoxInsert IsChecked [, CheckedChar [, UncheckedChar]]

Parameters

ParameterDescription
IsCheckedSpecifies whether the checkbox is initially checked.
CheckedCharOptional. Specifies the character code of the checked symbol. This value must be the code of a character in the Unicode character set. If this parameter is omitted, the default character &H2612 is used.
UncheckedCharOptional. Specifies the character code of the unchecked symbol. This value must be the code of a character in the Unicode character set. If this parameter is omitted, the default character &H2610 is used.

Return Value

The method returns True if the checkbox field could be inserted, otherwise it returns False.

Data Types

NameData type
IsCheckedBoolean
CheckedCharInteger
UncheckedCharInteger
Return valueBoolean

Remarks

Inserting a form field changes the value of the FieldCurrent property to the identifier of the newly created field.

See Also