TE Edit Control .NET Core / .NET Framework Help
Product page

TerLocateFieldChar

Locate the character with the given field id.

bool TerLocateFieldChar(FieldId,FieldCode, present, ref StartLine, ref StartCol, forward)
int FieldId;Select one of the following field ids to locate:
FIELD_NAME:Mail-merge field name
FIELD_DATA: Mail-merge field data
FIELD_HLINK:Hyperlink field
FIELD_TEXTBOXInput t text field
string FieldCode;Field code associated with Field Id. Pass a null value for the field ids (such as FIELD_NAME and FIELD_DATA) that do not use field code.
bool present;true to test for the presence of the given field id, or false to test for the absence of the given field id.
int StartLine;(INPUT/OUTPUT) Specifies the variable to the line number to start the search. On a successful search, this parameter contains the line number of the located text.
int StartCol:(INPUT/OUTPUT) Specifies the variable to the column number to start the search. On a successful search, this parameter contains the column number of the located text.
bool forward;true to scan the text in the forward direction, or false to scan the text in the backward direction.

Return Value: This function returns a true value when successful.