Re: imagelist on tree
Posted: Mon Sep 30, 2024 7:02 am
with
Now run !!
but the second level must have arrow.bmp and not the same as first
Code: Select all | Expand
oImageList := TImageList():New()
oImageList:Add( TBitmap():Define( "open",, oBar2 ), ; // nImage == 0 (default if not specified)
TBitmap():Define( "close",, oBar2 ) )
@ 15, 1 TREEVIEW oTree OF oBar2 SIZE 190, 180
oTree:SetImageList( oImageList )
but the second level must have arrow.bmp and not the same as first