SOLVED: PropertyItemPicture width |
Post Reply |
Author | |
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
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.... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
For everyone who needs this as well, it will be implemented in version 12.0
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
This is possible in V12.0
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |