SetFormFieldChildTitleA
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 SetFormFieldChildTitle and string arguments are interpreted using the current SetAnsiMode code page
Sets the title of the specified form field. For form fields arranged in a hierarchy this function only sets the last part of the field name. For example, a field with the name "Address.ZipCode" can be changed to "Address.PostalCode".
Syntax
Delphi
Function DLSetFormFieldChildTitleA(InstanceID, Index: Integer; NewTitle: PAnsiChar): Integer;
DLL
int DLSetFormFieldChildTitleA(int InstanceID, int Index, const char * NewTitle);
Parameters
| Index | The index of the form field to set the title of |
|---|---|
| NewTitle | The new value for the last part of the title for the specified field |
Return values
| 0 | The form field could not be found |
|---|---|
| 1 | The title of the specified form field was changed successfully |