ItemClick Event


PLBCMP GUI Only

 

The ItemClick event occurs when a button in a TOOLBAR object is clicked or a menu item in a FLOATMENU, MENU, or SUBMENU object is selected.

Note the following:

  1. The ItemClick event is referenced using an event value of twenty-six (26). The equated label in PLBEQU.INC for this event is $ITEMCLICK.

  2. The ItemClick event is the same as ButtonClick.

  3. Support for FLOATMENUs, MENUs, and SUBMENUs was added in runtime version 9.0.

  4. The Event Result value is the TAG property from the associated TOOLBUTTON or MENUITEM object.

  5. For a TOOLBUTTON, the Event Modifier contains a one based menu selection value or zero (0) if no menu was associated.

 

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions

 



PL/B Language Reference ItemActivate Event KeyPress Event