FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour oTree como dejo el fondo transparente
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
oTree como dejo el fondo transparente
Posted: Tue Aug 17, 2010 05:05 PM
Como dejo el fonde transparente del Otree segun el codigo, tambien necesito colocar una trama es decir una linea de un color y otra diferente.

Gracias


Code (fw): Select all Collapse
   DEFINE DIALOG oDtree RESOURCE "TREE" 
//       par_diag(oDtree,3,1,1) //(oDlgxx,nbrush,ncolor,ndisp) //ndisp no se esta usando
    oImageList = TImageList():New()


        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ),TBitmap():Define( "PRINTER",, oDtree ),;
           nRGB( 192, 192, 192 ))    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    
        oImageList:AddMasked( TBitmap():Define( "OK",, oDtree ), nRGB( 192, 192, 192 ) )    

       oTree := TTreeView():ReDefine( 100,oDtree,0,GetSysColor( 5 ), .T. ,"ll" )  //ver ttreevie.prg en classes
//   METHOD ReDefine( nId, oWnd, nClrFore, nClrBack, lDesign, cMsg ) CONSTRUCTOR

       REDEFINE BUTTON ID 611 OF oDtree ACTION oDtree:End()
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com

Continue the discussion