Number input type

Hi all,
is there any option to limit input type (wxTextCtrl) to accept only
number?

thanks,

regards.

bio.

hi

Fabio P. wrote:

is there any option to limit input type (wxTextCtrl) to accept only
number?

tx = Wx::TextCtrl.new(self)
tx.validator = Wx::TextValidator.new(Wx::FILTER_NUMERIC)

cheers
alex

Too fast!!

thank you Alex. :slight_smile:

bio.