Vcl.Buttons.TBitBtn.CopyImage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CopyImage(ImageList: TCustomImageList; Index: Integer);

C++

void __fastcall CopyImage(Vcl::Imglist::TCustomImageList* ImageList, int Index);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Buttons.pas
Vcl.Buttons.hpp
Vcl.Buttons TBitBtn

Description

Copy any TGraphic from a TImageList into the Glyph property of a TBitBtn.

CopyImage can be used to display any TGraphic on a TBitBtn. You can use any image that can be loaded into an imagelist using an Image List Editor.

See Also

Code Examples