Sign in Join
FPDoc Onlineexperiment

TCheckItemEvent procedure type

In unit EditBtn

Specifies an event handler is to determine if the specified Item is checked.

Declaration

pascal
TCheckItemEvent = function(Item: TObject): Boolean of object

Arguments

Item

Object examined in the method.

Function result

True when the item is checked.

Description

TCheckItemEvent specifies an event handler that can be used only for items that have a checkbox. Returns True when the item is checked. It will be necessary to cast the object instance in Item to the correct data type in the event handler to access properties introduced in a TObject descendant.

TCheckItemEvent is the type used to implement the OnCheckItem event handler in TCustomControlFilterEdit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.