TColorButton.OnColorChanged property
Event handler signalled when the button color has been changed.
Declaration
property OnColorChanged: TNotifyEvent read FOnColorChanged write FOnColorChanged;Description
OnColorChanged is a
TNotifyEvent property with the
event handler signalled when the selected color in ButtonColor has been
changed. An application must implement and assign an object procedure to the
property to respond to the event notification.
OnColorChanged is signalled (when assigned) when a new TColor value is assigned to the ButtonColor property. A common use for the event handler is to update the value in Caption when the value in ButtonColor has been updated. OnColorchanged is not signalled during LCL component streaming (csLoading in ComponentState).
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
