As would
edit.setInputType (InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED)
In Delphi XE5.
I only see how to select the keyboard type vktNumberPad
, but does not show the decimal.
来源:https://stackoverflow.com/questions/19274897/how-can-i-show-the-keypad-type-vktnumberpad-with-decimal-for-input-with-delph