Sign in Join
FPDoc Onlineexperiment

TCDButton.Click procedure

Member of TCDButtonprotectedIn unit CustomDrawnControls

Declaration

pascal
procedure Click; override

Description

Not described here; this is what TControl.Click says of it:

Signals OnClick and/or executes the ActionLink when the control has been clicked.

Performs actions needed when the control has been clicked using the mouse or its keyboard equivalent.

Click uses the value in ActionLink (when assigned) to determine whether OnClick and / or Action are executed for the control.

When ActionLink has been assigned, it is compared to the routine in the OnClick event handler (when assigned). When the routines differ, the OnCLick event handler is signalled. If an ActionLink exists, the Execute method in ActionLink is called as well.

Neither OnClick nor the ActionLink are executed at design-time.

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