Search found 20 matches: freebitmaps

Return to advanced search

... variable If lmulti Tbbmenu ::omultipage ELSE tbutton ::twopages endif because My modifies run error when I write if ! IsAppThemed() ::oMultiPages:FreeBitmaps() ::oMultiPages:LoadBitmaps("One_Page") ::oMultiPages:cMsg := TXT_PREVIEW_ON_ONE_PAGE ::oMultiPages:cTooltip := StrTran(TXT_ONEPAGE,"&","") ...
by Silvio
Fri Sep 19, 2008 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tbmenu
Replies: 6
Views: 1103

... lTwoPages := !lTwoPages MessageBeep() SetResources(hOldRes) RETU nil endif if lZoom Zoom(.T.) endif if ! IsAppThemed() oTwoPages:FreeBitmaps() oTwoPages:LoadBitmaps("One_Page") oTwoPages:cMsg := TXT_PREVIEW_ON_ONE_PAGE oTwoPages:cTooltip := StrTran(TXT_ONEPAGE,"&","") else ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3370

GDI objects leaks

... ::oImageList:End() ENDIF RETURN Super:Destroy() BtnBmp.prg In the method LoadBitmaps there's no call to FreeBitmaps, so if you change the bitmaps at run-time it will open the new bitmaps without closing the others. xBrowse.prg Sometimes the method End ...
by Patrizio
Wed Jan 23, 2008 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GDI objects leaks
Replies: 8
Views: 2356

Antonio Linares wrote:Clemerson,

oButtonBar:aControls[ 3 ]:FreeBitmaps()
oButtonBar:aControls[ 3 ]:LoadBitmaps( <cResName>,, [<cBmpFile>] )
oButtonBar:aControls[ 3 ]:Refresh()


Antonio/Clemerson
A similar working approach is in Function Zoom() of RPREVIEW.PRG

Kind regards
Evans
by E. Bartzokas
Thu Aug 10, 2006 4:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BUTTONBAR
Replies: 4
Views: 1128

Clemerson,

oButtonBar:aControls[ 3 ]:FreeBitmaps()
oButtonBar:aControls[ 3 ]:LoadBitmaps( <cResName>,, [<cBmpFile>] )
oButtonBar:aControls[ 3 ]:Refresh()
by Antonio Linares
Thu Aug 10, 2006 4:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BUTTONBAR
Replies: 4
Views: 1128
Previous

Return to advanced search