xbrowse required bug fixes !
Posted: Sun Jun 21, 2009 8:23 am
After testing the code that we have published here:
http://forums.fivetechsupport.com/viewt ... =3&t=15935
we have detected some errors in Class TXBrowse that must be fixed:
1) Method End() has to be renamed as Destroy(). It was wrong. And finally call return Super:Destroy()
2) This code is needed in Method CreateButtons() before the @ ..., ... :
3) In function function TXBrows() the browse is not destroyed:
4) PalBmpFree() is not properly working. This function should be added:
http://forums.fivetechsupport.com/viewt ... =3&t=15935
we have detected some errors in Class TXBrowse that must be fixed:
1) Method End() has to be renamed as Destroy(). It was wrong. And finally call return Super:Destroy()
2) This code is needed in Method CreateButtons() before the @ ..., ... :
Code: Select all
if ::oBtnList != nil
::oBtnList:End()
endif
if ::oBtnElip != nil
::oBtnElip:End()
endif
Code: Select all
if ValType( bChild ) == 'B'
bXBr:End()
bXBr := bChild
endif
Code: Select all
function PalBmpFree( hBmp, hPal )
DeleteObject( hBmp )
DeleteObject( hPal )
return nil