Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - 32 x 32 icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

32 x 32 icon

 Post Reply Post Reply
Author
Message
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Topic: 32 x 32 icon
    Posted: 11 December 2007 at 7:40am
I have been attemping to add icons into ReportColumn and ReportItem with ImageList but in vain.
However, I noticed that the size of Icons.
After forcing setting the size of icons as 16 x 16, icons were successfully shown.
 
There's no article aimed at explaining this.
 
I think you should "declare" or "emphasize" this "design" so as to avoid people's failure to add 32 x 32 icons.
 
Help artiles and online assistance still need improving.
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 7:47am
I'm not blaiming you who have been working hard to enhance all the controls. I just think there should be many people like me who feel difficult or frustrating to start using the controls because new usersneed more experiences to decrease and overcome the unfamiliarity.
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 7:54am
It's very strange that I just successfully showed a 32 x 32 icon in the ReportCOntrol.
 
I found the "KEY"!
 
Be sure to SetCustomDraw and in the MeasureRows set larger Height like Height = 80.
 
Sight, this "key" can not be fund in any article of this forum and the help file.
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 10:09am
I agree with you. It's not too easy to find things like this.

For anyone looking at this for a solution, I found a different way:
ReportControl.ReportPaintManager.FixedRowHeight=False.

Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2007 at 7:57pm
set FixedRowHeight=False won't work for Traditional Chinese Characters.
That's why I set Height Property in the ReportControl_MeasureRow() by myself. It works perfectly!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.