Vcl.Touch.Keyboard.TCustomKeyboardButton.Paint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Paint(Canvas: TCustomCanvas = nil); virtual;

C++

virtual void __fastcall Paint(Vcl::Graphics::TCustomCanvas* Canvas = (Vcl::Graphics::TCustomCanvas*)(0x0));

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Touch.Keyboard.pas
Vcl.Touch.Keyboard.hpp
Vcl.Touch.Keyboard TCustomKeyboardButton

Description

Virtual method used to paint a keyboard button.

The Paint method is used to paint a TCustomKeyboardButton. Besides the normal keys that resemble fonts, it implements internal functions for painting the Tab, Enter, Backspace, Shift, and Arrow keys.

Paint can be overridden to give your own implementation in the user-defined classes derived from TCustomKeyboardButton or its descendants.

See Also