Hi,
You are correct that the validation string can be used to limit acceptable input to the editbox. The validation string is a regular expression that the editbox text string must match in order to be 'valid', and any input that would cause the string to become invalid is rejected.
This throws up key point, that the regular expression must match
at all times, sometimes this means a slightly more complex regex than might otherwise have been needed.
Anyway, to limit the text to digits, with an optional decimal point - which must be preceded by at least one digit (i.e. a useful number limiting regex) would look something like this:
Dont forget that if you put that in a C++ string literal, you have to escape the backslashes, so:
HTH
CE.