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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LineCount (Short)<br />

number of lines of control element<br />

MultiSelection (Boolean)<br />

permits multiple selection of entries<br />

SelectedItems (Array of Strings)<br />

list of highlighted entries<br />

StringItemList (Array of Strings)<br />

list of all entries<br />

ValueItemList (Array of Variant)<br />

Control Element Forms<br />

list containing additional information for each entry (for example, for administrating data record IDs)<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 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 />

Tag (String)<br />

string containing additional information which can be saved in the button for program-controlled access<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 />

Note – VBA : Through their ValueItemList property, list box forms provide a counterpart to the VBA<br />

property, ItemData, through which you can administer additional information for individual list entries.<br />

Furthermore, the following methods are provided though the view object of the list box:<br />

addItem (Item, Pos)<br />

inserts the string specified in the Item at the Pos position in the list<br />

addItems (ItemArray, Pos)<br />

inserts the entries listed in the string's ItemArray data field in the list at the Pos position<br />

removeItems (Pos, Count)<br />

removes Count entries as of the Pos position<br />

Chapter 12 · Forms 175

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

Saved successfully!

Ooh no, something went wrong!