Vcl.ComCtrls.TCustomUpDown.ArrowKeys

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ArrowKeys: Boolean read FArrowKeys write SetArrowKeys default True;

C++

__property bool ArrowKeys = {read=FArrowKeys, write=SetArrowKeys, default=1};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomUpDown

Description

Determines whether the up-down control receives input from the Up arrow and Down arrow keys.

Use ArrowKeys to specify whether the up-down control responds to keyboard input. ArrowKeys is used only when the up-down control is associated with a companion control. When ArrowKeys is true, the up-down control responds to the Up arrow and Down arrow keys, even when its companion control has input focus. When ArrowKeys is false, the user must click the buttons of the up-down control with the mouse. To set a companion control use the Associate property.

Note: Up-down controls can respond to only the Up and Down arrow keys, even when the value of Orientation is udHorizontal.

See Also