Print Page | Close Window

32 x 32 icon

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9068
Printed Date: 13 June 2025 at 4:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 32 x 32 icon
Posted By: Bernie
Subject: 32 x 32 icon
Date 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.



Replies:
Posted By: Bernie
Date 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.


Posted By: Bernie
Date 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.


Posted By: ijwelch
Date 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.



Posted By: Bernie
Date 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!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net