CourseLab CourseLab 3.5. User's Guide Previous topic Next topic

Dropdown Menu

Dropdown menu enables user making single choice selections out of a multiple values. Inserted values are accessible in a form of variables within CourseLab and may be employed in different actions.

IMPORTANT! The value is recorded in associated variable immediately after changing state.

This Object can save and restore its last state, i.e. when you return to the Slide this Object will display the last displayed value.

Examples of Object appearance:

Object Parameters

Specify variable name, which will be used for storing user input. 

IMPORTANT! Variable names must contain only Latin alphabet letters, and numbers, and must not start with a digit. Variable names must be unique within a Slide or Module (depending on selected variable scope).

Fill in the list of possible variable values. Use + button to open dialog window. Enter the text description for the selected value. Specify value for the variable, in case user select this element. Specify initial state, which is whether or not input element is selected after Object loads up.

Use Display tab to specify the field appearance. Note that these parameters are applied to all menu elements.

On the Sound tab you can switch click sounds on and off, or change it to custom sounds.

IMPORTANT! Sounds must be short and have no starting lag. Otherwise it may lead to undesirable delays in course playing.

Object Events

Object is capable generating events with regards to the user's actions and interpretation of the actions by the object. When combined with actions events can be employed for building up intellectual behavior models for other objects depending on the current state of the Object. Events are available using CourseLab built-in events manipulation mechanism.

Event Triggered Upon
on Select Item User selects any menu item

Object Methods

The following Methods can be used when working with this Object.

Method Result
DISABLE Object will be disabled.
ENABLE Object will be enabled.

Object Specific Properties

Along with common object properties, this object has some specific properties, that can be used in actions and in text substitutions (OBJ_ID below means current object ID):

Property Returns Syntax
disabled Returns 1 if the Object is currently disabled, 0 otherwise. $OBJ_ID.disabled
value Returns current input field value. $OBJ_ID.value
selectedName Returns currently selected item description (if available). $OBJ_ID.selectedName