Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Custom Icon Size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom Icon Size

 Post Reply Post Reply
Author
Message
fergie View Drop Down
Groupie
Groupie


Joined: 20 May 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote fergie Quote  Post ReplyReply Direct Link To This Post Topic: Custom Icon Size
    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

Back to Top
fergie View Drop Down
Groupie
Groupie


Joined: 20 May 2008
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote fergie Quote  Post ReplyReply Direct Link To This Post Posted: 10 July 2008 at 6:50am
Found out by setting the SetCustomDraw property to  xtpCustomMeasureRow + xtpCustomMeasurePreviewItem
 
My images now display
 
Regards
David
 
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
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....
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.297 seconds.