RE: (subclassing) Modifying an existing functionality -Reply

Author: Michael Babcock, mbabcock@kepro.org

Posted: 1999-10-08 at 12:28:41

It's from a vcx using CREATEOBJECT(), not an .scx subclassed form. (Or do I

misunderstand you?) --Mike

>>> "tmiller@probusiness.com" 10/08/99 12:19pm >>>

In the subclassed item's method you want modified, you can just have you

code execute, as apposed to the inherited parents code run..

> -----Original Message-----

> From: Michael Babcock [SMTP:mbabcock@kepro.org]

> Sent: Friday, October 08, 1999 8:44 AM

> To: Multiple recipients of ProFox

> 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

> ********************************

> > ********************************

Michael Babcock

KePRO, Inc.

Tel: 717-564-8288

Fax: 717-564-4188

Internet Address: mbabcock@kepro.org

Home Page: http://www.kepro.org

********************************

©1999 Michael Babcock, mbabcock@kepro.org