OpenOffice.org BASIC Guide - OpenOffice.org wiki
OpenOffice.org BASIC Guide - OpenOffice.org wiki
OpenOffice.org BASIC Guide - OpenOffice.org wiki
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Tag (String)<br />
Control Element Forms<br />
string containing additional information, which can be saved in the button for program-controlled access<br />
TargetURL (String)<br />
target URL for buttons of the URL type<br />
TargetFrame (String)<br />
name of window (or frame) in which TargetURL is to be opened when activating the button (for buttons<br />
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 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 com.sun.star.form.FormButtonType)<br />
State (Short)<br />
in toggle button, 1 = pushed, 0 = normal<br />
Through the ButtonType property, you have the opportunity to define an action that is automatically performed<br />
when the button is pressed. The associated com.sun.star.form.FormButtonType group of constants provides the<br />
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 specified through<br />
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 />
Chapter 12 · Forms 171