Share via


FormFunctionButtonControl.buttonDisplay Method

Gets or sets the appearance of the button control.

Syntax

public int buttonDisplay([int value])

Run On

Client

Parameters

  • value
    Type: int

Return Value

Type: int
An integer between zero and five, inclusive.

Remarks

The value of the property defines whether the text, the image, or both should be displayed on the button. This property also controls relative positions of text and image if both are displayed.The integer value that is returned contains the appearace of the button control as follows:

Value.

Description.

0

Text only.

1

Image Only.

2

Text and image; the image is displayed below the text.

3

Text and image; the image is displayed above the text.

4

Text and image; the image is displayed to the left of the text.

5

Text and image; the image is displayed to the right of the text.

See Also

Reference

FormFunctionButtonControl Class