Despues de probar el c贸digo que hemos publicado aqui:
viewtopic.php?f=6&t=15936
hemos detectado unos errores en la Clase TXBrowse que hay que arreglar asi:
1) Method End() tiene que ser renombrado como Destroy(). Estaba mal. Y finalmente llamar a return Super:Destroy()
2) Este c贸digo es necesario en Method CreateButtons() antes de @ ..., ... :
3) En la funci贸n TXBrows() el browse no se destru铆a:
4) PalBmpFree() no est谩 funcionando bien. Hay que a帽adir esta funci贸n:
viewtopic.php?f=6&t=15936
hemos detectado unos errores en la Clase TXBrowse que hay que arreglar asi:
1) Method End() tiene que ser renombrado como Destroy(). Estaba mal. Y finalmente llamar a return Super:Destroy()
2) Este c贸digo es necesario en Method CreateButtons() antes de @ ..., ... :
聽 聽 聽 if ::oBtnList != nil
聽 聽 聽 聽 聽::oBtnList:End()
聽 聽 聽 endif 聽
聽 聽 聽 if ::oBtnElip != nil
聽 聽 聽 聽 聽::oBtnElip:End()
聽 聽 聽 endif3) En la funci贸n TXBrows() el browse no se destru铆a:
聽 聽if ValType( bChild ) == 'B'
聽 聽 聽 bXBr:End()
聽 聽 聽 bXBr := bChild
聽 聽endif4) PalBmpFree() no est谩 funcionando bien. Hay que a帽adir esta funci贸n:
function PalBmpFree( hBmp, hPal )
DeleteObject( hBmp )
DeleteObject( hPal )
return nil