Vcl.Themes.ThemeControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ThemeControl(AControl: TControl): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall ThemeControl(Vcl::Controls::TControl* AControl);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes Vcl.Themes

Description

Checks whether a control should be themed.

Call ThemeControl to check whether a control should be themed. AControl is the control that needs to be checked. ThemeControl returns True if the control can be themed and False otherwise.

Note: ThemeControl is used by the VCL Forms designer at design time. Applications should not call this routine directly.

See Also