TBitBtnKind (C++)

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

__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
  BitBtn1->Kind = bkOK;
  BitBtn2->Kind = bkCancel;
  BitBtn3->Kind = bkHelp;
}

Uses