Acts

Methods

SetText(type, text)

Set the text in the field.
Parameters:
NameTypeDescription
typenumbertype of the fiel text to compare. 0 plain text, 1 HTML text
textstringtext to set

SetPlaceholder(placeholder)

Set the placeholder for the field.
Parameters:
NameTypeDescription
placeholderstringplaceholder to set

SetTooltip(tooltip)

Set the tooltip for the field.
Parameters:
NameTypeDescription
tooltipstringplaceholder to set

SetReadOnly(readOnlyMode)

Set the read-only mode for the field.
Parameters:
NameTypeDescription
readOnlyModenumber0 enable read-only mode, 1 disable read-only mode

SetVisible(visibleMode)

Set the read-only mode for the field.
Parameters:
NameTypeDescription
visibleModenumber0 visible, 1 hide, 2 toggle