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.

Model.HScroll (Boolean)<br />

the text has a horizontal scrollbar<br />

Model.MaxTextLen (Short)<br />

maximum length of text, where 0 corresponds to no length limit<br />

Model.MultiLine (Boolean)<br />

permits entry to spans several lines<br />

Model.Printable (Boolean)<br />

the control element can be printed<br />

Model.ReadOnly (Boolean)<br />

the content of the control element is read-only<br />

Model.Tabstop (Boolean)<br />

the control element can be reached with the Tab key<br />

Model.Text (String)<br />

text associate with the control element<br />

Model.TextColor (Long)<br />

text color of control element<br />

Model.VScroll (Boolean)<br />

the text has a vertical scrollbar<br />

Model.HelpText (String)<br />

help text that is displayed when the mouse cursor rests over the control element<br />

Model.HelpURL (String)<br />

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

List Boxes<br />

List boxes (com.sun.star.awt.UnoControlListBox service) support the following properties:<br />

ItemCount (Short)<br />

number of elements, read-only<br />

SelectedItem (String)<br />

text of highlighted entry, read-only<br />

SelectedItems (Array Of Strings)<br />

data field with highlighted entries, read-only<br />

SelectedItemPos (Short)<br />

number of the entry highlighted at present, read-only<br />

SelectedItemsPos (Array of Short)<br />

Dialog Control Elements<br />

data field with the number of highlighted entries (for lists which support multiple selection), read-only<br />

MultipleMode (Boolean)<br />

True activates the option for multiple selection of entries, False blocks multiple selections (the property<br />

cannot be called up directly but only through IsMultipleMode)<br />

IsMultipleMode (Boolean)<br />

permits multiple selection within lists, read-only<br />

List boxes provide the following methods:<br />

Chapter 11 · Dialogs 165

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

Saved successfully!

Ooh no, something went wrong!