FMX.DateTimeCtrls.TCustomDateTimeEdit.KeyboardType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property KeyboardType: TVirtualKeyboardType read GetKeyboardType write SetKeyboardType default TVirtualKeyboardType.NumberPad;

C++

__property Fmx::Types::TVirtualKeyboardType KeyboardType = {read=GetKeyboardType, write=SetKeyboardType, default=2};

Properties

Type Visibility Source Unit Parent
property public
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TCustomDateTimeEdit

Description

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