BevelInner (C++)
Description
This example uses a panel component and a button named CreateStatusLine on a form. The code moves the panel to the bottom of the form when you click the button and gives the panel the appearance of a status line by changing the value of the BevelInner, BevelOuter, BevelWidth, and BorderWidth properties.
Code
void __fastcall TForm1::CreateStatusLineClick(TObject *Sender)
{
Panel1->Align = alBottom;
Panel1->BevelInner = bvLowered;
Panel1->BevelOuter = bvRaised;
Panel1->BorderWidth = 1;
Panel1->BevelWidth = 1;
}
Uses
- Vcl.ExtCtrls.TCustomPanel.BevelInner ( fr | de | ja )
- Vcl.ExtCtrls.TCustomPanel.BevelOuter ( fr | de | ja )
- Vcl.ExtCtrls.TCustomPanel.BorderWidth ( fr | de | ja )
- Vcl.ExtCtrls.TCustomPanel.BevelWidth ( fr | de | ja )