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

Create successful ePaper yourself

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

Control Element Forms 240<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<br />

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<br />

control element<br />

HelpURL (String)<br />

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

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

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<br />

position<br />

removeItems (Pos, Count)<br />

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

selectItem (Item, SelectMode)<br />

activates or deactivates the highlighting for the element specified in the string Item<br />

depending on the SelectMode variable<br />

makeVisible (Pos)<br />

scrolls through the list field so that the entry specified by Pos is visible<br />

Source: http:/ / <strong>wiki</strong>. services. openoffice. <strong>org</strong>/ w/ index. php? title=Documentation/ <strong>BASIC</strong>_<br />

<strong>Guide</strong>/ Control_ Element_ Forms&oldid=104519<br />

Principal Authors: Fpe, Ccornell

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

Saved successfully!

Ooh no, something went wrong!