Vcl.Forms.TApplication.Icon

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Icon: TIcon read FIcon write SetIcon;

C++

__property Vcl::Graphics::TIcon* Icon = {read=FIcon, write=SetIcon};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Description

Determines which icon represents the application on the Windows task bar.

Use Icon to assign a specific icon to represent the application. Set the Icon property by either:

Assigning it a TIcon at runtime.

Loading an icon on the Application page of the Project|Options dialog box at design time.

Icon represents the application when it is minimized and appears either on the Windows desktop or task bar.

See Also

Code Examples