FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Method end() at TxBrwColumns bug!
Posts: 445
Joined: Thu Feb 21, 2008 11:58 AM
Method end() at TxBrwColumns bug!
Posted: Fri Nov 28, 2008 08:30 PM
Antonio,

I found a new bug in class TXBrowse.. at end() method of TXBrwColumn:
for nFor := 1 to Len( ::aBitmaps )
     PalBmpFree( ::aBitmaps[ BITMAP_HANDLE ], ::aBitmaps[ BITMAP_PALETTE ] )
next


The property ::aBitmaps is a multi-dimensional array... and is need to access with the line number too... like this:
for nFor := 1 to Len( ::aBitmaps )
     PalBmpFree( ::aBitmaps[ nFor, BITMAP_HANDLE ], ::aBitmaps[ nFor, BITMAP_PALETTE ] )
next


In new fivewin 8.11... maybe this bug has been corrected!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9

Continue the discussion