bb.donnay-software.com

Donnay Software Web Forums
It is currently Wed Dec 11, 2019 11:35 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CJPushButton Bitmaps
PostPosted: Fri Sep 09, 2011 4:38 am 
Offline

Joined: Thu Jan 28, 2010 1:22 am
Posts: 822
Location: Sijsele, Belgium
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:
@ 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 4376 times ]

_________________
Best regards,

Chris.
www.aboservice.be
Top
 Profile  
 
 Post subject: Re: CJPushButton Bitmaps
PostPosted: Fri Sep 09, 2011 8:48 am 
Offline

Joined: Thu Jan 28, 2010 1:22 am
Posts: 822
Location: Sijsele, Belgium
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group