GetFormFieldSubNameA

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

For radio button, checkbox and choice (scrollable list box or combo box drop-down list) form fields, this function returns the specified possible value.

For choice fields the GetformFieldSubDisplayName function can be used to retrieve the display name of the choice item.

Syntax

Delphi

Function DLGetFormFieldSubNameA(InstanceID, Index, SubIndex: Integer): PAnsiChar;

DLL

const char * DLGetFormFieldSubNameA(int InstanceID, int Index, int SubIndex);

Parameters

IndexThe index of the form field to examine The index of the sub-value to retrieve
SubIndex