BevelInner (Delphi)

From RAD Studio Code Examples
Jump to: navigation, search

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

See Also

Personal tools
Assistance