NewChildFormFieldA

フォームフィールド

説明

末尾の A は ANSI(char)DLL エントリポイントを示します。ActiveX/COM インターフェースでは Unicode 形式のみを公開します。動作は NewChildFormField と同じで、文字列引数は現在の SetAnsiMode コードページを使用して解釈されます

別のフィールドの子として、選択ページに新しいフォームフィールドを追加する

構文

Delphi

Function DLNewChildFormFieldA(InstanceID, Index: Integer; Title: PAnsiChar; FieldType: Integer): Integer;

DLL

int DLNewChildFormFieldA(int InstanceID, int Index, const char * Title, int FieldType);

パラメータ

Index親フィールドのインデックス。新しいフォームフィールドのタイトル。タイトルにピリオド文字 "." を含めることはできない
Title
FieldType作成するフィールドの型: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent

戻り値

0新しいフォームフィールドを作成できませんでした
Non-zeroフォームフィールドが正常に作成されました。これは新しいフィールドのインデックスです