>Hi there,
>
>I am using Visual FoxPro 5.
>
>TextBox does not accept dash (hyphen, minus). It is character data type and has no controlsource, inputmask, keypress event. And TreeView, ListView, StatusBar and ImageList use in the form.
>
>Any help would be appreciated. Thank you.
A textbox will accept a dash under normal circumstances. You didn't mention that you've checked the format property. If that's also empty, are you sure your textbox isn't based on a class that either has a format, inputmask or keypress code?