SetFormFieldButtonTextPosition
Form fields
Description
Sets the pushbutton /MK /TP caption and icon positioning value
Syntax
Delphi
Function SetFormFieldButtonTextPosition(Index, NewPosition: Integer): Integer;Parameters
| Index | One-based form-field index; the field must be a pushbutton |
|---|---|
| NewPosition | /MK /TP value from 0 through 6: 0 caption only, 1 icon only, 2 caption below icon, 3 caption above icon, 4 caption right of icon, 5 caption left of icon, 6 caption overlaid on icon |
Return values
Returns 1 on success or 0 for an invalid field, a non-pushbutton field or a value outside the supported range