RE: (subclassing) Modifying an existing functionality

Author: Miller, Tony, tmiller@probusiness.com

Posted: 1999-10-08 at 12:07:26

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

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

>

>

©1999 Miller, Tony, tmiller@probusiness.com