Skip to main content

ApiTextForm

ApiTextForm is a subclass of ApiFormBase.

Methods

MethodReturnsDescription
ClearbooleanClears the current form.
CopyApiFormCopies the current form (copies with the shape if it exists).
DeletebooleanRemoves a form and its content. If keepContent is true, the content is not deleted.
GetAllowedSymbolsstringReturns the allowed symbols for the current text field.
GetBackgroundColorApiColorReturns the background color of the current form.
GetBorderColorApiColorReturns the border color of the current form.
GetCharactersLimitnumberReturns a limit of the text field characters.
GetClassType"textForm"Returns a type of the ApiTextForm class.
GetFormKeystringReturns the current form key.
GetFormTypeFormTypeReturns a type of the current form.
GetFormatTextFormFormatReturns the format of the current text field.
GetInternalIdstringReturns an internal id of the current form.
GetLockbooleanReturns the lock state of the current form.
GetPlaceholderTextstringReturns the placeholder text from the current form.
GetRolestringReturns the role of the current form.
GetTagstringReturns the tag attribute for the current form.
GetTextstringReturns the text from the current form.
GetTextPrApiTextPrReturns the text properties from the current form.
GetTipTextstringReturns the tip text of the current form.
GetValuestringReturns the current text value of the text form.
GetWrapperShapeApiShapeReturns a shape in which the form is placed to control the position and size of the fixed size form frame.
IsAutoFitbooleanChecks if the text field content is autofit, i.e. whether the font size adjusts to the size of the fixed size form.
IsCombbooleanChecks if the text field is a comb of characters with the same cell width.
IsFilledbooleanChecks if the current form is filled.
IsFixedbooleanChecks if the current form is fixed size.
IsMultilinebooleanChecks if the current text field is multiline.
IsRequiredbooleanChecks if the current form is required.
MoveCursorOutsidebooleanPlaces a cursor before/after the current form.
SetAllowedSymbolsbooleanSets the allowed symbols for the current text field. Only the specified characters will be accepted as input.
SetAutoFitbooleanSpecifies if the text field content should be autofit, i.e. whether the font size adjusts to the size of the fixed size form.
SetBackgroundColorbooleanSets the background color to the current form.
SetBorderColorbooleanSets the border color to the current form.
SetCellWidthbooleanSets the cell width to the applied comb of characters.
SetCharactersLimitbooleanSets a limit to the text field characters.
SetCombbooleanSpecifies if the text field should be a comb of characters with the same cell width.
SetFormKeybooleanSets a key to the current form.
SetFormatbooleanSets the format for the current text field.
SetLockbooleanSets the lock state of the current form.
SetMultilinebooleanSpecifies if the current text field should be miltiline.
SetPlaceholderTextbooleanSets the placeholder text to the current form.
SetRequiredbooleanSpecifies if the current form should be required.
SetRolebooleanSets the role to the current form.
SetTagbooleanSets the tag attribute to the current form.
SetTextbooleanSets the text to the current text field.
SetTextPrbooleanSets the text properties to the current form.
SetTipTextbooleanSets the tip text to the current form.
SetValuebooleanSets the text value of the text form.
ToFixedbooleanConverts the current form to a fixed size form.
ToInlinebooleanConverts the current form to an inline form.