Migration Guide : B. Features Introduced in OpenROAD 2006 (5.0) : New Features : New Events
 
Share this page          
New Events
Designing an intuitive graphical user interface (GUI) requires that the application be able to detect basic user actions such as moving the mouse over GUI objects.
OpenROAD 2006 supports mouse tracking events, giving the application developer a fine level of control over the GUI implementation. For example, developers can use this feature to provide hyperlinks and other hover-based functionality in their applications. Implementing mouse event support introduces four new events in OpenROAD:
MouseEnter
Triggered whenever the user moves the mouse onto a simple field
ChildMouseEnter
Triggered for a composite field whenever the user moves the mouse onto a simple field inside the composite field
MouseExit
Triggered whenever the user moves the mouse off a simple field
ChildMouseExit
Triggered for a composite field whenever the user moves the mouse off a simple field inside the composite field
These new events implement functionality that does not require a mouse click, opening up a wide range of possibilities for user interface design.
In addition, there are two new events that are related to the SliderField system class:
SliderMove
Triggered for a slider field whenever the user drags the thumb of a SliderField with the mouse
ChildSliderMove
Triggered for a composite field whenever the user drags the thumb of a SliderField with the mouse