32 x 32 icon |
Post Reply |
Author | |
Bernie
Senior Member Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
Post Options
Thanks(0)
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.
|
|
Bernie
Senior Member Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
Post Options
Thanks(0)
|
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.
|
|
Bernie
Senior Member Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
Post Options
Thanks(0)
|
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.
|
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
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. |
|
Bernie
Senior Member Joined: 05 July 2007 Location: Taiwan Status: Offline Points: 109 |
Post Options
Thanks(0)
|
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!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |