CJPushButton Bitmaps

This forum is for support of XCodeJock
Post Reply
Message
Author
skiman
Posts: 902
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

CJPushButton Bitmaps

#1 Post 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
Attachments
cjbut.jpg
cjbut.jpg (41.89 KiB) Viewed 6713 times
Best regards,

Chris.
www.aboservice.be

skiman
Posts: 902
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: CJPushButton Bitmaps

#2 Post 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.
Best regards,

Chris.
www.aboservice.be

Post Reply