Print Page | Close Window

Custom Icon Size

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=11377
Printed Date: 20 July 2025 at 7:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom Icon Size
Posted By: fergie
Subject: Custom Icon Size
Date Posted: 10 July 2008 at 6:43am

Hello Community.

 

I am using the report control to display images fetched from an SQL database dynamically resize them and display in the report control.

 

If I size my image greater than 24 Pixels it does not display.

 

Question.

 

Can i load an images/icon say 64x64 Pixels and display in the report control, so far i have no luck.

 

Also is there a way to set the height of the row? i cant seem to do this?

 

Any help would be appreciated.

 

Kind regards

David




Replies:
Posted By: fergie
Date Posted: 10 July 2008 at 6:50am
Found out by setting the SetCustomDraw property to  xtpCustomMeasureRow + xtpCustomMeasurePreviewItem
 
My images now display
 
Regards
David
 


Posted By: Aaron
Date Posted: 11 July 2008 at 1:14am
Hi,
 
Also if you set:
 
wndReportControl.PaintManager.FixedRowHeight = False
 
the rowheight will be sized to contents.
 
 
If your issue is solved, please add SOLVED in your Topic description and have a look at post http://forum.codejock.com/forum_posts.asp?TID=11225 - http://forum.codejock.com/forum_posts.asp?TID=11225


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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