if you add a new Data
on CLASS TVistaMenuItem class
Method Paint
if ::hBmp != 0
if ::lHasAlpha
ABPaint( hDC, nLeft-::oWnd:nWLeftImage+10, nTop, ::hBmp, ::nAlphaLevel )
else
If ::lMove
DrawMasked( hDC, ::hBmp, nTop, (nLeft+40)-::oWnd:nWLeftImage+10 ) ELSE
DrawMasked( hDC, ::hBmp, nTop, nLeft-::oWnd:nWLeftImage+10 )
endif
endif
endif
on test try with
oItem2:= oWnd:AddItem( "Movimenti", "IMAGE_BIG" )
oItem3:= oItem2:AddItem( "Ci sono "+ltrim(str(NumMovimenti))+" movimenti. ",, { || Movimenti() } )
oItem4:= oItem2:AddItem( "di cui "+ltrim(str(NumMovimenti_En))+" sono movimenti di entrata, " ,"sh_small1",)
oItem5:= oItem2:AddItem( "e "+ltrim(str(NumMovimenti_Us))+" sono movimenti di
uscita. ","sh_small2",)
oItem4:lMove:=.t.
oItem5:lMove:=.t.the small bitmaps are moved on left
and I not Know how insert a new line to make a space from item4 and item5
because the class draw each item and not save on memory if there is a item before ( have lmove=.t.)
any solution ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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