Print Page | Close Window

SOLVED: PropertyItemPicture width

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=9792
Printed Date: 30 November 2024 at 10:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: PropertyItemPicture width
Posted By: Aaron
Subject: SOLVED: PropertyItemPicture width
Date Posted: 04 March 2008 at 3:32pm
Hi,
 
I'm using the PropertyGrid to select pictures. The selected picture will be shown and resized in the PropertyItemPicture area. Is it possible to set the width for that area so I could show the picture as its original size?
 
Thanks in advance


-------------
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....



Replies:
Posted By: Aaron
Date Posted: 12 March 2008 at 5:24am
Hi,
 
For everyone who needs this as well, it will be implemented in version 12.0


Posted By: Aaron
Date Posted: 21 March 2008 at 2:33am
Hi,
 
For those who can't wait.
 
Example:
Load the image:
 
wndPropertyGrid.Icons.LoadBitmap App.Path & "\<your image>.bmp", ID_ICON, xtpImageNormal
 
and set the item IconIndex:      Item.ValueMetrics.IconIndex = ID_ICON
 
and set the height of the propertygrid item:     Item.Height = <your image> .height
 
and voila real sized image
 


Posted By: Aaron
Date Posted: 25 March 2008 at 4:56am
Hi,
 
And for those who will have to wait because there is a minor problem in version 12.0 with setting the .Height during runtime this is not a bad solution hehehe  


Posted By: Aaron
Date Posted: 30 April 2008 at 2:47am
Hi,
 
This is possible in V12.0



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