Re: (subclassing) Modifying an existing functionality -Reply -Reply -Reply

Author: Michael Babcock, mbabcock@kepro.org

Posted: 1999-10-08 at 15:08:28

Well that makes sense; I know that. Man, I'm really out of it today (sick). That's it...no more questions today....time for nappy.... <g>.

>>> "allan_lindgren@starkey.com" 10/08/99 02:55pm >>>

Michael,

a method is code and will be compiled prior to run time. You can not

write new code durring run time

the define class is a development code not a runtime code

if you make a procedure file [.prg] with a define class, then if you set

procdure to <myproc>

you can use the define clss when you do createobject(<myclass>)

HTH

Michael Babcock wrote:

> > Paul,

> > That's what I kind of thought but ruled that out after reading Ed's reply.

But then again, I'm not well today (sick) so I'm somewhat in the fog. I need

> the weekend <g>.

> > So can I do this on the fly programmatically, or am I limited to having to

use

> the GUI development? I would think I should be able to do it in code, but

the

> DEFINE CLASS helpdoc makes me wonder how I alter an existing object's

method. I'm not adding an object, because it's already there. So how I

address this? --Mike

> [snip]

-- Allan Lindgren

allan_lindgren@starkey.com

If you offer me a penny for my thoughts,

and I give you my two cents worth,

Who gets the change?

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

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