TAppEventsOnMinimize (C++)

From RAD Studio Code Examples
Jump to: navigation, search

Description

This example requires that a TApplicationEvents and a TListBox are on the form. Select the TApplicationEvents, double-click the OnMinimize event, and add the following code to the handler. OnMinimize is triggered when the form is minimized.

Code

void __fastcall TAppEventForm::ApplicationEventsMinimize(TObject *Sender)
{
  lbOther->Items->Add("Event OnMinimize");
}

Uses