FindFormFieldByTitleA

Form fields

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to FindFormFieldByTitle and string arguments are interpreted using the current SetAnsiMode code page

Finds the index of the form field with the specified title

Syntax

Delphi

Function DLFindFormFieldByTitleA(InstanceID: Integer; Title: PAnsiChar): Integer;

DLL

int DLFindFormFieldByTitleA(int InstanceID, const char * Title);

Parameters

TitleThe title of the form field to find

Return values

0The form field could not be found
Non-zeroThe Index of the form field with the specified title