Can i replace a method in a class outside from the class-code?
Can i replace a method in a class outside from the class-code?
OVERRIDE CLASS:
---------------
The OVERRIDE CLASS syntax allows the xHarbour developer to override the
behaviour of any existing class (including native type classes) using the
flowwing syntax:
OVERRIDE METHOD <SomeMethod> [IN] CLASS <SomeClass> WITH [METHOD] <SomeFunc>
[SCOPE <Scope>]
For sample usage please review tests\override.prg
Enrico
Some sample with clausule SCOPE ?
Thanks. Also in HARBOUR?
cnavarro wrote:Enrico
Some sample with clausule SCOPE ?
In the original method ::hDC by example is using. In the new function what i should use unstead the ::?
LOCAL Self := HB_QSELF()Thanks!!!