Alaska Software Inc. - Re: Manually Destroyed Objects
Username: Password:
AuthorTopic: Re: Manually Destroyed Objects
M.B. BaijuManually Destroyed Objects
on Sat, 07 Jul 2018 18:24:26 +0200
Hi,

The programmer has to specifically destroy some objects before destroying the 
window.Here are the xbp objects:-

* XbpBitmap()
* XbpClipBoard()
* XbpFileDev()
* XbpFont()
* XbpMetaFile()
* XbpPrinter()
* XbpPresSpace()


Other than these objects anymore to be checked ?


M.B.BAIJU
Peter AlderliestenRe: Manually Destroyed Objects
on Thu, 12 Jul 2018 20:26:31 +0200
M.B. Baiju,

> The programmer has to specifically destroy some objects before destroying the 
> window.Here are the xbp objects:-
> 
> * XbpBitmap()
> * XbpClipBoard()
> * XbpFileDev()
> * XbpFont()
> * XbpMetaFile()
> * XbpPrinter()
> * XbpPresSpace()
> 
> 
> Other than these objects anymore to be checked ?

What makes you think you have to destroy all these objects manually?

Peter
Jim LeeRe: Manually Destroyed Objects
on Fri, 13 Jul 2018 02:52:23 +0200
> * XbpBitmap()
> * XbpClipBoard()
> * XbpFileDev()
> * XbpFont()
> * XbpMetaFile()
> * XbpPrinter()
> * XbpPresSpace()

those shown Classes are not XbParts which you can reach via o:Childlist.

Xbase++ does have a Garbage Collector for automatic memory management but it 
take time to be active.
XbParts of o:Childlist do not need extra o:Destroy(), for all other i 
recommend to use it.