Anhyone know how to use. textfield.restrict?

I have a set of numbers

under myLVs.store = store.text

anyway

I want to make this text field 0-9
so only numbers can be inputed using the restrict command

any clue how to?

myTextField.restrict = "0-9";

=)