SetFormFieldCaptionEx
Form fields
Description
Sets a button caption in the appearance characteristics dictionary
StringType 1 writes the normal caption /CA, 2 writes the rollover caption /RC and 3 writes the alternate down caption /AC
Syntax
Delphi
Function SetFormFieldCaptionEx(Index, StringType: Integer; Const NewCaption: WideString): Integer;Parameters
| Index | One-based form-field index |
|---|---|
| StringType | 1 writes the normal caption /CA and is accepted for pushbuttons, checkboxes and radio buttons; 2 writes the rollover caption /RC and 3 the alternate down caption /AC, both pushbutton-only |
| NewCaption | Caption text stored in the appearance characteristics dictionary |
Return values
Returns 1 on success or 0 for an invalid field or unsupported button and caption combination
Rollover and alternate captions are supported only for pushbuttons