Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.AddHandlerOnEnabledChanged

Adds an OnEnabledChanged handler.

Declaration

Source position: controls.pp line 1750

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.



CT Web help

CodeTyphon Studio