to modify a method of a class we use OVERRIDE METHOD
but if I wish add a method "on line" on a class How I can make ?
add one method
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
add one method
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: add one method
EXTEND CLASS <ClassName> WITH [MESSAGE <MessageName>] METHOD <FunctionName>
EXTEND CLASS <ClassName> WITH MESSAGE <MessageName> INLINE <expression>
EXTEND CLASS <ClassName> WITH DATA <MemberName> [PERSISTENT]
EXTEND CLASS <ClassName> WITH MESSAGE <MessageName> INLINE <expression>
EXTEND CLASS <ClassName> WITH DATA <MemberName> [PERSISTENT]
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: add one method
what mean for MessageName
I must add a new function to a class
EXTEND CLASS TXXX WITH [MESSAGE <MessageName>] METHOD Myfunction()
I must add a new function to a class
EXTEND CLASS TXXX WITH [MESSAGE <MessageName>] METHOD Myfunction()
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: add one method
Search in the FWH spanish forum, there are a number of examples to find there.