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

TControl.AddHandlerOnVisibleChanging

Adds or inserts the specified OnVisibleChanging event handler.

Declaration

Source position: controls.pp line 1766

public procedure TControl.AddHandlerOnVisibleChanging(

  const OnVisibleChangingEvent: TNotifyEvent;

  AsFirst: Boolean = False

);

Arguments

OnVisibleChangingEvent

  

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 chtOnVisibleChanging type. False if the routine is appended to the list.


Version 3.2 Generated 2024-02-25 Home