onDraw Event

The onDraw event is called after the control or container is called to paint the object.

Note: This event is not supported on Windows Mobile devices.

Use the onDraw 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
Cell
  • Cell label
  • Cell image