Skip to content

OnUpdate - cCJCommandBarSystem

Event sent when an Update event occurs - usually the result of the idle timer firing

Type: Event

Syntax

Procedure OnUpdate

Description

The Update procedure is used to update all "active" menu and toolbar item actions and the statusbar. Sending Update to all of these objects will result in the OnUpdate event being sent, which is where you should add your own code. In addition to sending OnUpdate to active menu/toolbar items and the statusbar it also sends the OnUpdate event to itself. This event can used for whatever purpose you choose.

This event will usually not require augmentation as the primary purpose of the update process is to update menu/toolbar items (see cCJAction's OnUpdate) and the statusbar (see cCJStatusBar's OnUpdate).

The Update method is called by an idle timer if pbTimerUpdate is true.