GetFormFieldDefaultValueA

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

Returns the default value of a form field. This is the value that the field will have when the form is reset.

Syntax

Delphi

Function DLGetFormFieldDefaultValueA(InstanceID, Index: Integer): PAnsiChar;

DLL

const char * DLGetFormFieldDefaultValueA(int InstanceID, int Index);

Parameters

IndexThe index of the form field