FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour imagelist on tree
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: imagelist on tree
Posted: Mon Sep 30, 2024 07:02 AM
with
Code (fw): Select all Collapse
 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 )
Now run !!



but the second level must have arrow.bmp and not the same as first
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion