[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.AddHandlerOnEnabledChanged

Adds an OnEnabledChanged handler.

Declaration

Source position: controls.pp line 1775

public procedure TControl.AddHandlerOnEnabledChanged(

  const OnEnabledChangedEvent: TNotifyEvent;

  AsFirst: Boolean = False

);

Arguments

OnEnabledChangedEvent

  

TNotifyEvent handler routine added in the method.

AsFirst

  

True if the routine is inserted as the first handler in the list of handlers for the chtOnEnabledChanged type. False if the routine is appended to the list.


Version 3.2 Generated 2024-02-25 Home