service UnoControlButtonModel in module com::sun::star::awt::

(Global Index)

Syntax

service UnoControlButtonModel;

Description

specifies the standard model of an UnoButtonControl .

Included Services

com::sun::star::awt::UnoControlModel

Property Summary

BackgroundColor specifies the background color (RGB) of the control.

DefaultButton specifies that the button is the default button on the document.

Enabled determines whether a control is enabled or disabled.

FontDescriptor specifies the font attributes of the text in the control.

Label specifies the label of the control.

Printable specifies that the control will be printed with the document.

Tabstop specifies that the control can be reached with the Tab key.

TextColor specifies the text color (RGB) of the control.

HelpText specifies the help text of the control.

HelpURL specifies the help id of the control.

PushButtonType specifies the default action of the button.

Property Details



BackgroundColor

Syntax

long BackgroundColor;

Description

specifies the background color (RGB) of the control.


DefaultButton

Syntax

boolean DefaultButton;

Description

specifies that the button is the default button on the document.


Enabled

Syntax

boolean Enabled;

Description

determines whether a control is enabled or disabled.


FontDescriptor

Syntax

com::sun::star::awt::FontDescriptor FontDescriptor;

Description

specifies the font attributes of the text in the control.


Label

Syntax

string Label;

Description

specifies the label of the control.


Printable

Syntax

boolean Printable;

Description

specifies that the control will be printed with the document.


Tabstop

Syntax

boolean Tabstop;

Description

specifies that the control can be reached with the Tab key.


TextColor

Syntax

long TextColor;

Description

specifies the text color (RGB) of the control.


HelpText

Syntax

string HelpText;

Description

specifies the help text of the control.


HelpURL

Syntax

string HelpURL;

Description

specifies the help id of the control.


PushButtonType

Syntax

short PushButtonType;

Description

specifies the default action of the button.

 0: standard
 1: ok
 2: cancel
 3: help
Top of Page