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