TCustomFormIcon (C++)

From RAD Studio Code Examples
Jump to: navigation, search

Description

This code assigns an icon to a form when the form is created.

Code

__fastcall TForm1::TForm1(TComponent* Owner)
  : TForm(Owner)
{
  Icon->LoadFromFile("..\\MDIChild1.ICO");
}

Uses