Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Boxes, Set Century, Y2k
Message
From
19/02/1999 04:44:47
 
 
To
19/02/1999 00:35:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00189162
Message ID:
00189183
Views:
12
>Hi,
>
>Regarding text boxes used to edit date fields. I have SET("CENTURY") set to off, and the 'century' property of the textbox set to off. If the century of the text box control source is 1900, the date is displayed, as expected, with no century. However, if the century of the text box value is 2000, FoxPro attempts to display the year as 4 digits, including the century. This is not desirable if the textbox width is not large enough to accomodate the century.
>
>Is this by design? It doesn't seem appropriate.
>
>TIA for any feedback
>Regards
>Bill Sabo

Hi Bill,
I asked this exact same question a few weeks ago and the general response was that it was by design :-(
I think it's ugly and unnecessary and defeats the purpose (whether you like it or not!) of SET CENTURY OFF.
This aweful effect also occurs in a grid/browse.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform