-----Messaggio Originale-----
Da: "Przemyslaw Czerpak" <[email protected]>
A: "Harbour Project Main Developer List." <[email protected]>
Data invio: venerdì 20 febbraio 2009 12.22
Oggetto: Re: [Harbour] TGet: setting cursor position to ::nMaxLen + 1
Harbour has a feature which can block class modification so such
action can be forbidden by programmer.
Anyhow if class is not locked (core classes isn't) then it's possible.
But you have to be careful because it's possible to create some really
strange results, f.e. when you add some new methods to the class from
which some other classes inherited before and then in object of this
classes you will use super casting.
__clsAddMsg( <hClass>, <cMessage>, <sMthFunction> | <bMthBlock>,
<nType>, ;
[xInit], <uiScope> )
f.e.:
__clsAddMsg( getNew():hClass, "MYMSG", @myMethod(), HB_OO_MSG_METHOD,, ;
HB_OO_CLSTP_EXPORTED )
Thank you.
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour