BorderIcons (C++)

From RAD Studio Code Examples
Jump to: navigation, search

Description

The following code removes a form's Maximize button when you click a button.

Code

void __fastcall TForm1::Button1Click(TObject *Sender)
{
  TBorderIcons tempBI = BorderIcons;

  tempBI >> biMaximize;
  BorderIcons = tempBI;
}

Uses