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

Author: Allan Lindgren, allan_lindgren@starkey.com

Posted: 1999-10-08 at 14:39:00

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?

©1999 Allan Lindgren, allan_lindgren@starkey.com