-1

I built a cross platform application to run it on Android. I use a TEdit to get the numbers and a Label to show the result of the calculation. (This function is already running).

Is there any way to show a calculator keyboard whenever I click into to an TEdit object?

It shouldnt just pop-up like a second form I built in.

J1MAV1GN0N
  • 33
  • 2
  • 6

1 Answers1

1

Set the TEdit.KeyboardType property to either TVirtualKeyboardType.NumbersAndPunctuation or TVirtualKeyboardType.NumberPad as needed. When the user gives focus to the TEdit, it will display the OS's standard virtual keyboard in the appropriate layout.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770