Thanks very much to those who replied about creating the subclass.  That
works great, but it raises another question.  Obviously, I'm nowhere NEAR as
advanced as most others on this list, so I appreciate your patience with
what are probably pretty basic questions:

I've created the subclass called "trimmedtextbox" that has:

this.value=allt(this.value)

in the Valid event.  That works great.  But if I wanna put other code in the
Valid event when designing my form, the Valid code from the class is
ignored.  I've had this happen with other subclasses, also.  For example, I
have a subclass for a Command Group that handles moving the record pointer,
deleting records, etc.  If, on a particular form, I wanna run other code
after deleting a record, I put that code in the Click event for the Delete
button.  It runs that code, but doesn't run the code from the subclass that
deletes the record in the first place.

How do I make sure Valid code is run from the class AND from the form?

Thanks!

John




_______________________________________________
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
** 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