Hi !
Is it possible to simultaneously display in one column xbrowsa the picture and the text ?
function XbrImageAndText()
local cPath := "c:\fwh\bitmaps\pngs\"
local aDir := DIRECTORY( cPath + "*.png" )
AEval( aDir, { |a| a[ 1 ] := cPath + a[ 1 ], a[ 2 ] := cFileNoExt( a[ 1 ] ) } )
XBROWSER aDir COLUMNS { 1, 1, 2 } SETUP ( ;
oBrw:nMarqueeStyle := 2, ;
oBrw:aCols[ 2 ]:cDataType := "F", ;
oBrw:aCols[ 2 ]:nDataBmpAlign := AL_CENTER, ;
oBrw:aCols[ 3 ]:nDataStrAlign := AL_CENTER, ;
oBrw:aCols[ 3 ]:bClrStd := { || { CLR_WHITE, CLR_GREEN } }, ;
oBrw:aCols[ 2 ]:SetColsAsRows( { 2, 3 } ) ;
)
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: nageswaragunupudi and 67 guests