Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox - dash (hyphen, minus)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00788048
Message ID:
00788505
Views:
21
I'm not sure why having an ActiveX control on the form should affect this. I've used a treeview on a form with textboxes a lot, and the textboxes have always accepted a dash character. You may want to try a test form with one ActiveX control at a time to see if it's one of them in particular that's causing this problem.

>Barbara,
>
>Thank you.
>
>Forgot to mention, it has nothing on the format property. This textbox class works OK if there is no ActiveX class used in the form.
>
>
>>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform