TCustomFormIcon (C++)
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
- Vcl.Forms.TCustomForm.Icon ( fr | de | ja )