Author: Bourque, Chad, Chad@teche.net
Posted: 1999-10-08 at 12:08:21
Mike,
You would need to subclass your frmDates and put the new login in there.
So, if your frmDates is hand-coded as opposed to a vcx, then yes, you would
have to use another DEFINE. If it is a vcx, just create a new form class
based on frmDates and put your new logic in there.
HTH
Chad Bourque
U.S. Bankruptcy Court - 11th Circuit
Alabama - Northern District - Southern Division
Chad@teche.net
----- Original Message -----
From: Michael Babcock <mbabcock@kepro.org>
To: Multiple recipients of ProFox <profox@leafe.com>
Sent: Friday, October 08, 1999 10:44 AM
Subject: (subclassing) Modifying an existing functionality
I have a subclassed form "frmDates". I want to use class, but slightly
change
the functionality of two of its textboxes right-click event. Must I do
another DEFINE or is there a way to directly change the logic for an item
for
this instance only? Examples are greatly appreciated!
'sortof' pseudo-code of what I want to accomplish:
oFrm = createobject("frmDates")
oFrm.MyTxtBox.rt-click procedure = <change of logic>
TIA,
--Mike
********************************
Michael Babcock
KePRO, Inc.
Tel: 717-564-8288
Fax: 717-564-4188
Internet Address: mbabcock@kepro.org
Home Page: http://www.kepro.org
********************************