480
OPUS Projektor Manual
Object Reference
·
shows all valid items if there are less than items configured for the list (note that this will
result in reduced height of the widget)
·
current value/selected item is identified by a focus frame using the
'ENABLED_WITH_FOCUS' state of the item
·
if the item does not have such property (e.g. because it's a container) the respective
setting of the list is used
·
if an invalid item is selected, no focus frame is shown
·
the last item is shown if the value is equal to or above max value (and it is visible)
·
add an invalid item at the end of the list if nothing should be shown for values above the
list's range
·
If there is only one valid item in a multi-item list, the list is expanded to two items so that
the valid one is always visible
·
This shows the 'null item' at the end of the list but avoids showing nothing where as single
item list would do that
·
While editing only valid items can be selected and the value will be set accordingly
FAQ
How to add an object to a list
There are different ways to add an object to a list:
1. Drag a new object from palette to the list on the designer area
2. Drag an existing object from the project tree to the list in the project tree
3. Edit the property List Items (see description below).
4. Copy an existing object and paste it into the list (the size of the pasted object is
automatically adjusted so take care when using paste as reference since the original
object will also be modified)
How can I show / hide / customize a scroll bar for all list objects when the list is open
for input?
Go to the project properties of the project and the to the Object section.
On the bottom of the dialog there is an option Size of List object scrollbar.
Set this to 0 to disable all scroll bars.
Set this to the width the scroll bars shall have to customize it (if touchscreen editing is
preferred, this should be set to at least 50 pixel so that the user is able to touch the scroll bar).
Note that the scroll bar is only shown at runtime.
Events
The following events can be configured for the list object:
·
OnOpenForInput
·
OnEnabledWithFocus
·
OnEnabledWithoutFocus
·
OnValueChange
·
OnGetValue
·
OnEnterValue
·
OnEnterNewValue
·
OnEscape
See here for the descriptions of all event and possible actions that can be assigned.
430