Print Page | Close Window

[SOLVED] Picture Filename

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=17040
Printed Date: 21 November 2024 at 12:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Picture Filename
Posted By: chrisABC
Subject: [SOLVED] Picture Filename
Date Posted: 31 July 2010 at 11:07am
I use the PropertyGrid to browse and select a picture. This works great.

How do I get the picture filename from the PropertyGrid?

ANSWER:  use the .picturePath property



-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: Aaron
Date Posted: 31 July 2010 at 11:17am
Hi Chris,
 
Something like:
 
Dim ItemPicture As PropertyGridItemPicture
Set ItemPicture = wndPropertyGrid.FindItem(ID_PICTUREITEM) 
    ItemPicture.PicturePath 'contains the path of image
 
 


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


Posted By: Aaron
Date Posted: 31 July 2010 at 11:20am
Hi Chris,
 
Are you testing the response time of forum members or what?
 


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


Posted By: chrisABC
Date Posted: 31 July 2010 at 12:12pm
Well your reply was quick, but not fast enough :-)

I am so used to not being aboe to find the answer in the CJ Help files that I posted the question. Then I was looking up something else in the help and spotted the .picturePath property.


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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