This is not true if you use NumbersOnly ... pasting numbers (or negative numbers) are allowed ONLY. NumbersOnly does the work for you
Hi
Already set in text properties to numbers only.
Hi
You are right and it gives you a keyboard with numbers only.
But this keyboard shows - , & space which if you use them alone without any number, it result in application failure and close it.
That is interesting because the & is not on my keyboard and the space is but it is disabled.
As far as the negative (-) goes it does not matter because negative numbers are numbers. & and - can easily be removed by the filter I gave .. simple enough. Are you sure your space key is enabled?
JUST curious is all .. your equation has a strange set of numbers for output and makes me wonder how such a set could be viable?
Hi
Sorry my English is weak, I did not mean by & as a character in the keyboard. This is the GBorad I am using:
Try this, uses a label instead of a textbox, and returns the value to a variable on Enter
makeAKeyBoardNumbersOnly.aia (20.7 KB)
May I ask what happens the next time you press button ? Example text is 5, press button result is 6, next time text input is 6 then result is 7 or 6+6+1=13 ?
Hi
The result would be 7.
Thanks for the nice keyboard.
You could always use regex extension by @Kevinkun to validate numbers for example only integers or even only positives numbers.
For example this will accept only positive integer numbers in calculations otherwise it will return 0 in textbox
Show the blocks (like I did).
Hi
This is the result if I add the - character with out any number with it:
and this if I add numbers:
Great keyboard and easy to build but only positive numbers out
Same keyboard I get .. the space bar is disabled and "-" can easily be filtered out as I already gave blocks for
Easy enough to add a -
key, but not in the original OP's request....