
(*
 Delphi Object and Component Reference
#{bmc bm9.BMP} BorderIcons example
The following code removes a form’s Maximize button when the user clicks a button:
*) 
void __fastcall TForm1::Button1Click(TObject *Sender)
{
  TBorderIcons tempBI = BorderIcons;
  tempBI >> biMaximize;
  BorderIcons = tempBI;
} 
