Just starting out? Need help? Post your questions and find answers here.
AMpos
 
Posts: 29
Joined: Mon Aug 03, 2020 5:15 pm

OpenFileRequester

by AMpos Sun Feb 21, 2021 11:32 am

Hi!

I am doing this:

Code: Select all
OpenFileRequester("image/jpeg", @OpenFileRequesterCallback(), #PB_Requester_MultiSelection)


and it works, it only shows JPEG/JPG files, but what if I only want to show PNG & JPG?
User avatar
Peter
 
Posts: 867
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: OpenFileRequester

by Peter Sun Feb 21, 2021 12:46 pm

jpg, jpeg, png:
Code: Select all
OpenFileRequester("image/jpeg,image/png", ...

As far as I know, there is no way to display only jpg but no jpeg files.
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 2 guests