I'm implementing the CJPushButtons in my application.
I have a problem with the bitmaps. Each button has another BMP from my resourcefile, but a lot of them are ignored. Buttons are receiving the same bitmap as the previous created bitmap.
See attached sample.
I can't see any reason why some buttons behaves different. The same syntax is always used:
Code: Select all
@ 10,10 CJPushButton oBut1 ;
Size 130,70 ;
BITMAP ABO_KLANTN ;
Caption fMessage(1000) ;
ToolTip fTooltip(1000) ;
Font '12.Arial bold italic' ;
TextImageRelation xtpImageAboveText ;
Transparent ;
IMAGEALIGNMENT xtpAlignCenter ;
textalign xtpAlignCenter ;
Appearance xtpAppearanceOffice2007 ;
Style xtpButtonNormal ;
Parent aWindows[1,1] ;
ReSize DCGUI_RESIZE_RESIZEONLY ;
ACTION {|o|... } pixel