Hi Kareem,
You may implement this using a C1MaskedTextBox, by handling its \’PreviewTextInput\’ event.
c1MaskedTextBox1.PreviewTextInput += (s, e) => { Regex regex = new Regex(\"[^0-9.-]+\"); if (regex.IsMatch(e.Text)) e.Handled = true; };
Also, if you so wish I will try to figure out a way to remove the up/down markers, or set them invisible.
Please let me know.
~Anupam