FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour add one method
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
add one method
Posted: Mon Apr 15, 2019 08:08 AM

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 ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: add one method
Posted: Wed Apr 17, 2019 02:10 AM

EXTEND CLASS <ClassName> WITH [MESSAGE <MessageName>] METHOD <FunctionName>
EXTEND CLASS <ClassName> WITH MESSAGE <MessageName> INLINE <expression>
EXTEND CLASS <ClassName> WITH DATA <MemberName> [PERSISTENT]

Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: add one method
Posted: Wed Apr 17, 2019 07:33 AM

what mean for MessageName
I must add a new function to a class
EXTEND CLASS TXXX WITH [MESSAGE <MessageName>] METHOD Myfunction()

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: add one method
Posted: Wed Apr 17, 2019 09:00 PM

Search in the FWH spanish forum, there are a number of examples to find there.

Continue the discussion