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

TCustomForm.OnActivate

Handler called when the form receives focus.

Declaration

Source position: forms.pp line 805

public property TCustomForm.OnActivate : TNotifyEvent
  read FOnActivate
  write FOnActivate;

Description

This handler is called when the form receives focus for the first time at application start up, and then subsequently each time focus is changed from another window for the same application to this window.

For focus changes between different applications, the Application.OnActivate event handler is called instead.

See also

TApplication.OnActivate

  

Event handler signalled when an Activate message is handled in the application.


Version 3.2 Generated 2024-02-25 Home