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;

Return value

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