RemoveFormFieldChoiceSubA

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

Removes a subname entry from a choice based form field.

Syntax

Delphi

Function DLRemoveFormFieldChoiceSubA(InstanceID, Index: Integer; SubName: PAnsiChar): Integer;

DLL

int DLRemoveFormFieldChoiceSubA(int InstanceID, int Index, const char * SubName);

Parameters

IndexThe index of the form field The string value of the subname to delete
SubName

Return values

0The subname was not deleted. The specified form field may not have been a choice form field.
1The subname was successfully deleted