Print Page | Close Window

GIF And JPEG missing from file browse

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=1237
Printed Date: 03 December 2024 at 1:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GIF And JPEG missing from file browse
Posted By: gshawn
Subject: GIF And JPEG missing from file browse
Date Posted: 04 October 2004 at 11:11pm

Hi,

I purchased your product at the end of last week and am mostly satisfied with it so far. I have only really begun using it today, and have just come across a very serious problem (that should however be easy to fix):

When I set a property to type PropertyItemPicture, I cannot select all the graphics file types that are supported by Visual Basic. Specifically, the browse for file dialog is missing support for the .gif and .jpg file extensions. This wouldn't be so bad if I could use my own handler in the InplaceButtonDown event, but the event doesn't fire for PropertyItemPicture type properties.

I absolutely *need* to be able to offer my customers the ability to select .GIF and .JPEG/JPG files. I am sure I am not the only one with this issue... What is the recommended workaround?




Replies:
Posted By: gshawn
Date Posted: 04 October 2004 at 11:15pm

Note that the following works just fine:

        Set Item = Category.AddChildItem(PropertyItemPicture, "PictureItem", "")
        Dim AppIcon As Picture
        Set AppIcon = LoadPicture("E:\My App\Picture.jpg")

And even displays the little picture preview icon. It looks like the file type just needs to be added to the Browse dialog.



Posted By: Oleg
Date Posted: 05 October 2004 at 1:12am
in browse dialog select "All files(*.*)" and choose gif or jpeg.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gshawn
Date Posted: 05 October 2004 at 9:23am

Hi Oleg,

Thank you for your reply. I appreciate your prompt response.

My problem with this is that the default selection for "Files of type" in the Browse dialog is "All Picture Types." However, GIF and JPEG files do not show up in this list. This makes it seem like these file types are not supported, when in fact they are (by both your control and the development environment). The fact that they do not even show up as a picture type in the file type drop-down also reinforces the idea that they are unsupported.

I know that GIF and JPEG files are supported by the control. However, my users will not know this. They will think that my application does not support these formats.

I do not want to confuse my users. Is there any chance of seeing this fixed in a future version?

Thanks again.



Posted By: Oleg
Date Posted: 06 October 2004 at 12:14am
ok, we will change it.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gshawn
Date Posted: 06 October 2004 at 11:57am

Thank you very much. Once again, I appreciate your prompt feedback.

Have a nice day.



Posted By: gshawn
Date Posted: 13 October 2004 at 1:58pm
I can confirm that this has been resolved in version 9.51. Thanks again for the prompt fix.



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