21.08.2013 Views

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

OpenOffice.org BASIC Guide.pdf - OpenOffice.org wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Control Element Forms 235<br />

name of window (or frame) in which TargetURL is to be opened when activating the<br />

button (for buttons of the URL type)<br />

Label (String)<br />

button label<br />

TextColor (Long)<br />

text color of control element<br />

HelpText (String)<br />

automatically displayed help text which is displayed if the mouse cursor is above the<br />

control element<br />

HelpURL (String)<br />

URL of online help for the corresponding control element<br />

ButtonType (Enum)<br />

action that is linked with the button (default value from<br />

com.sun.star.form.FormButtonType<br />

)<br />

Through the ButtonType property, you have the opportunity to define an action that is<br />

automatically performed when the button is pressed. The associated<br />

com.sun.star.form.FormButtonType<br />

group of constants provides the following values:<br />

PUSH<br />

SUBMIT<br />

RESET<br />

URL<br />

standard button<br />

end of form entry (particularly relevant for HTML forms)<br />

resets all values within the form to their original values<br />

call of the URL defined in TargetURL (is opened within the window which was<br />

specified through TargetFrame)<br />

The OK and Cancel button types provided in dialogs are not supported in forms.<br />

Option Buttons<br />

The following properties of an option button are available through its model object:<br />

Enabled (Boolean)<br />

the control element can be activated<br />

Tabstop (Boolean)<br />

the control element can be reached through the tab key<br />

TabIndex (Long)<br />

position of control element in the activation sequence<br />

FontName (String)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!