Hi Dave.
 
I used SET NOTIFY with all its parameters.
 
Meanwhile, the best solution I found is : StrictDateEntry, set to 0 - loose, 
that avoid the program block and validate aginst a blank date.


--- El jue, 12/1/12, Dave Crozier <[email protected]> escribió:


De: Dave Crozier <[email protected]>
Asunto: RE: Date typed-in problem
Para: "ProFox Email List" <[email protected]>
Fecha: jueves, 12 de enero, 2012 04:32


I think Frank is correct here and that you are probably using a subclassed text 
field where the "press space bar" message has been hard coded into the parent 
class as that is NOT standard behaviour. The standard VFP error message is the 
on e in the window shown in the top right of the screen and it is turned off 
with set notify off.

Dave

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Angel Dario Rodriguez
Sent: 12 January 2012 02:26
To: ProFox Email List
Subject: RE: Date typed-in problem

Dave, the problem is that inmediatly a wron-date y typed, in the space bar 
appears the message "invalid date, press space bar" and oftenly the users did 
not see this message press Enter several times and thas causes the program to 
freeze. As to say, it does not allow to check any validation in the Valid() 
method.

--- El mar, 10/1/12, Dave Crozier <[email protected]> escribió:


De: Dave Crozier <[email protected]>
Asunto: RE: Date typed-in problem
Para: "ProFox Email List" <[email protected]>
Fecha: martes, 10 de enero, 2012 12:22


Check for the correct date in the Valid() event of the field and return a 
messagebox() error and then return .F. back so the operator re-enters the data.

Dave C

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Angel Dario Rodriguez
Sent: 10 January 2012 15:26
To: [email protected]
Subject: Date typed-in problem

Often, when user type in a date, when the mistakes the day or the month value, 
the program returns a message in the lower line of the window saying "press 
space bar", and until the space bar is pressed, not work, but oftenly the user 
do not read the message and continue trying to type in the once and then the 
program freeze and nothing can be done.
 
Is ther any way to avoid awful problem, that do not freeze when user tray to 
type de date?

--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to