SetFormFieldTitleA
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 SetFormFieldTitle and string arguments are interpreted using the current SetAnsiMode code page
Renames the title of a parent form field. No validation is performed so you should make sure the title is unique.
Syntax
Delphi
Function DLSetFormFieldTitleA(InstanceID, Index: Integer; NewTitle: PAnsiChar): Integer;
DLL
int DLSetFormFieldTitleA(int InstanceID, int Index, const char * NewTitle);
Parameters
| Index | The index of the formfield |
|---|---|
| NewTitle | The new title name for the formfield |
Return values
| 0 | The form field title cound not be changed The field field title was changed successfully |
|---|---|
| 1 |