onOrientationChange Event

The onOrientationChange event is called when the orientation of the device changes.

For example, this event can be called to redraw the screen on a BlackBerry Storm device when the orientation is changed.

Note: This event is supported only on the BlackBerry Storm 9530.

Use the onOrientationChange event with these controls:

Control type Control
User input
  • Check box
  • Choice
  • Edit box
  • Radio group
Table
  • Grid table
  • List detail
  • Table cell
General controls and containers
  • Button
  • Hyperlink
  • Image
  • List item
  • Menu item
  • Navigation bar
  • Radio button
  • Tab folder
  • Toolbar item
Controls with no focus
  • Display
  • Label
  • List group
  • Region
  • Separator
  • Tab panel display
  • Toolbar