Page 1 of 1

CJPushButton Bitmaps

Posted: Fri Sep 09, 2011 4:38 am
by skiman
Hi,

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

Re: CJPushButton Bitmaps

Posted: Fri Sep 09, 2011 8:48 am
by skiman
Hi,

Don't bother, I decided to create a new type of dcpushbuttonXP. This way I'm sure the buttons are reliable. This way I also don't have to change all my sources, a new dclipx.dll will change all my buttons.

I will post a printscreen when ready. I have an idea which will give a new style of buttons in Express.