BevelInner (Delphi)
Contents
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. The code also gives the panel the appearance of a status line by changing the value of the BevelInner, BevelOuter, BevelWidth, and BorderWidth properties.
Code
procedure TForm1.CreateStatusLineClick(Sender: TObject);
begin
with Panel1 do
begin
Align := alBottom;
BevelInner := bvLowered;
BevelOuter := bvRaised;
BorderWidth := 1;
BevelWidth := 1;
end;
end;
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 )