21.08.2013 Views

OpenOffice.org BASIC Guide - OpenOffice.org wiki

OpenOffice.org BASIC Guide - OpenOffice.org wiki

OpenOffice.org BASIC Guide - 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<br />

HardLineBreaks (Boolean)<br />

the automatic line breaks are permanently inserted in the text of the control element<br />

HScroll (Boolean)<br />

the text has a horizontal scrollbar<br />

MaxTextLen (Short)<br />

maximum length of text; if 0 is specified, there are no limits<br />

MultiLine (Boolean)<br />

permits multi-line entries<br />

Printable (Boolean)<br />

the control element can be printed<br />

ReadOnly (Boolean)<br />

the content of the control element is read-only<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 the control element in the activation sequence<br />

FontName (String)<br />

name of font type<br />

FontHeight (Single)<br />

height of character in points (pt)<br />

Text (String)<br />

text of control element<br />

TextColor (Long)<br />

text color of control element<br />

VScroll (Boolean)<br />

the text has a vertical scrollbar<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 />

List Boxes<br />

The model object of the list box forms provides the following properties:<br />

BackgroundColor (long)<br />

background color of control element<br />

Border (short)<br />

type of border (0: no border, 1: 3D frame, 2: simple frame)<br />

FontDescriptor (struct)<br />

structure with details of font to be used (in accordance with com.sun.star.awt.FontDescriptor structure)<br />

174 <strong>OpenOffice</strong>.<strong>org</strong> 3.2 <strong>BASIC</strong> <strong>Guide</strong> · March 2010

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

Saved successfully!

Ooh no, something went wrong!