Hello,
I'm using the following code:
The problem is that if I use
, if the entered value starts with 0, then the dialog disables the "Yes" key.
How could I work around this and still keep the keyboard showing only numbers and the minus sign?
Thank you.
I'm using the following code:
B4X:
Dim input As B4XInputTemplate
input.Initialize
Dialog.Initialize(Root)
Dialog.Title="Please enter your data"
input.lblTitle.Text = "String containing only numbers:"
input.TextField1.RequestFocus
Wait For (Dialog.ShowTemplate(input, "Yes", "", "No")) Complete (Result As Int)
...
B4X:
input.ConfigureForNumbers(False,False)
How could I work around this and still keep the keyboard showing only numbers and the minus sign?
Thank you.