FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in TImageList
Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM
Bug in TImageList
Posted: Sat Mar 10, 2007 03:58 AM
Hi,

I don't think that oIcon should be in inverted comma's :-)

Alex

METHOD AddIcon( oIcon ) CLASS TImageList

local oIco

if ValType( oIcon ) == "C"
if File( "oIcon" )
DEFINE ICON oIco FILENAME oIcon
else
DEFINE ICON oIco RESOURCE oIcon
endif
else
oIco = oIcon
endif

return ILAddIcon( ::hImageList, oIco:hIcon )
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TImageList
Posted: Sat Mar 10, 2007 08:33 AM

Alex,

Fixed, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion