Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date textbox
Message
From
15/05/2001 05:10:24
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00506928
Message ID:
00507169
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

You can make text box bound manually and make a value of it as a character string with specifying of the input mask. I have seen such class in some framework (or standard classes provided by ms?), that control also had a spinner to spin a day, month or year of the date. The date was a character string and a control source was not used to bind to data, instead of that code in refresh event and valid event do reading/writing of the data in the field.

HTH.

>>>I observe the same behaviour. The invalid date data becomes selected which is the only clue that there is a problem. AFAIC, nothing fires, either, including LostFocus and Valid. Nothing happens unless the date is blank or a valid date is entered.
>>>
>>
>>VFP validates it before the Valid event fires.
>
>This, in turn, lead to a question: how can we identify it programmatically, if nothing fires, and this is an internal thing?
>
>For instance, if I click on the button, I want to execute code in it regardless of the validity of data... We probably can write a code in KeyPress??
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform