SetFormFieldDescriptionA

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 SetFormFieldDescription and string arguments are interpreted using the current SetAnsiMode code page

Sets the description of the specified form field.

Syntax

Delphi

Function DLSetFormFieldDescriptionA(InstanceID, Index: Integer; NewDescription: PAnsiChar): Integer;

DLL

int DLSetFormFieldDescriptionA(int InstanceID, int Index, const char * NewDescription);

Parameters

IndexThe index of the form field to change
NewDescriptionThe new description.

Return values

0The form field could not be found
1The specified form field's description was set successfully