API:Vcl.NumberBox.TNumberBoxStyleHook

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.StdCtrls.TEditStyleHookVcl.Themes.TMouseTrackControlStyleHookVcl.Themes.TStyleHookSystem.TObjectTNumberBoxStyleHook

Delphi

TNumberBoxStyleHook = class(TEditStyleHook)

C++

class PASCALIMPLEMENTATION TNumberBoxStyleHook : public Vcl::Stdctrls::TEditStyleHook

Properties

Type Visibility Source Unit Parent
class public
Vcl.NumberBox.pas
Vcl.NumberBox.hpp
Vcl.NumberBox Vcl.NumberBox

Description



Control message handler.

Vcl.NumberBox.TNumberBoxStyleHook inherits from Vcl.Themes.TStyleHook. All content below this line refers to Vcl.Themes.TStyleHook.

Control message handler.

TStyleHook is a class that handles messages for controls.

If you have a custom control that you want to be style enabled, inherit from TStyleHook and provide custom processing for that control. As examples, see TEditStyleHook, TComboBoxStyleHook.

You need to register the style hook class with the style engine, using the RegisterStyleHook method.


See Also