![]() |
[SOLVED] Picture Filename |
Post Reply ![]() |
Author | |
chrisABC ![]() Senior Member ![]() ![]() Joined: 05 June 2008 Status: Offline Points: 258 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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.... |
|
![]() |
|
chrisABC ![]() Senior Member ![]() ![]() Joined: 05 June 2008 Status: Offline Points: 258 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
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 |