Re: Aplicación se "congela"
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Jul 11, 2016 4:25 pm
by cnavarro
Si, eso está incluído en versiones posteriores a la que indicas
Re: Aplicación se "congela"
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Jul 11, 2016 5:33 pm
by Antonio Linares
Angel,
Asi tambien debería funcionar bien:
- Code: Select all Expand view
METHOD Destroy() CLASS TRBtn
DeleteObject( ::hArrow )
if ::hBack != ::oWnd:hBack
DeleteObject( ::hBack )
endif
DeleteObject( ::hRgn )
::FreeBitmaps()
if ::oPopup != nil
::oPopup:End()
endif
Super:Destroy()
return 0
Re: Aplicación se "congela"
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Jul 11, 2016 6:48 pm
by AngelSalom
Antonio Linares wrote:Angel,
Asi tambien debería funcionar bien:
- Code: Select all Expand view
METHOD Destroy() CLASS TRBtn
DeleteObject( ::hArrow )
if ::hBack != ::oWnd:hBack
DeleteObject( ::hBack )
endif
DeleteObject( ::hRgn )
::FreeBitmaps()
if ::oPopup != nil
::oPopup:End()
endif
Super:Destroy()
return 0
En efecto, así también libera correctamente los recursos.