TBitBtnKind (Delphi)

From RAD Studio Code Examples
Jump to: navigation, search

Description

This example uses three bitmap buttons on a form. When the application runs, the Kind property for each bitmap button is set, and the BitBtn1 button (the OK button) becomes the default button. Notice the bitmaps added to the button faces.

Code

procedure TForm1.FormCreate(Sender: TObject);
begin
  BitBtn1.Kind := bkOK;
  BitBtn2.Kind := bkCancel;
  BitBtn3.Kind := bkHelp;
end;

Uses