Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - SOLVED: PropertyItemPicture width
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: PropertyItemPicture width

 Post Reply Post Reply
Author
Message
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 Topic: SOLVED: PropertyItemPicture width
    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....
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: 12 March 2008 at 5:24am
Hi,
 
For everyone who needs this as well, it will be implemented in version 12.0
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: 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
 
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: 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  
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: 30 April 2008 at 2:47am
Hi,
 
This is possible in V12.0
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.141 seconds.