main logo
Subject: RE: Restrict Textbox Values?
Author: "Chuck Urwiler"
Posted: 2003/10/31 08:10:00
 
View Entire Thread
New Search


You've made my point for me. I think that anyone who hasn't used
anything before VFP is NOT likely to use Valid because it's not very
clear when it occurs, whereas LostFocus is clear (and consistent with
other products) about when it occurs.=20

Question: since you use Valid, then what do you use LostFocus for? From
what you've said here, you're sometimes putting code in both the Valid
and LostFocus. Why do that?=20

-Chuck Urwiler, MCSD, MCDBA
http://www.eps-software.com


> -----Original Message-----
> From: profox-bounces (AT) leafe .D.O.T com=20
> [mailto:profox-bounces@leafe.com] On Behalf Of Rafael Copquin
> Sent: Friday, October 31, 2003 7:57 AM
> To: ProFox Email List
> Subject: Re: Restrict Textbox Values?
>=20
> I am an old Foxer (since 1987). I ALWAYS use valid. That is=20
> what it is there for.
>=20
> Valid is for validating input. Either you accept the input=20
> value or you do
> not. Period. If you do, then you go to LostFocus and do=20
> whatever you are
> supposed to do with the value just entered.
>=20
> I always use these: Init, when, gotfocus,keypress and valid.=20
> Each has its
> uses. And they fire in that order. You just have to use them=20
> for what they
> were built. That is all.


 
©2003 Chuck Urwiler
<-- Prior Message New Search Next Message -->