FMX.DateTimeCtrls.TDateEdit.KeyboardType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property KeyboardType: TVirtualKeyboardType read GetKeyboardType write SetKeyboardType default 2;

C++

__property KeyboardType = {default=2};

Properties

Type Visibility Source Unit Parent
property published
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TDateEdit

Description

Sets the keyboard type of an editable field.

FMX.DateTimeCtrls.TDateEdit.KeyboardType inherits from FMX.DateTimeCtrls.TCustomDateTimeEdit.KeyboardType. All content below this line refers to FMX.DateTimeCtrls.TCustomDateTimeEdit.KeyboardType.

Sets the keyboard type of an editable field.

To set the keyboard type of an editable field, set the KeyboardType to be a TVirtualKeyboardType type:

// Delphi code
DateEdit1.KeyboardType := TVirtualKeyboardType.URL;
// C++ code
DateEdit1->KeyboardType = TVirtualKeyboardType::URL;

See Also

Code Examples