Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Re: OpenDialog ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 3241 of 3326
Post > Topic >>

Re: OpenDialog Filter Question..

by Joe Strout <joe@[EMAIL PROTECTED] > Aug 2, 2007 at 04:14 PM

In article <1186081753.021003.75110@[EMAIL PROTECTED]
>,
 SpreadTooThin <bjobrien62@[EMAIL PROTECTED]
> wrote:

> I can't find a complete example of how one would filter only (for
> example)  gif files.

I'm sure there's one in the language reference, but no worries, we can 
help you here too.

> Gif files end in .gif   so what do I put in the dialogs filter
> property?

First, no, GIF files don't always end in .gif.  They might end in 
nothing.  File extensions are just a crutch for improperly typed files 
(on some OSes, at least).

So, what you put in for the .Filter property is the name of (or 
reference to) a File Type which you have defined with the type (GIFf) 
and extension (.gif) of GIF files.  Start in the Project tab with "New 
File Type Set" and take it from there.

Best,
- Joe

-- 
"Polywell" fusion -- an approach to nuclear fusion that might actually
work.
Learn more and discuss via: 
<http://www.strout.net/info/science/polywell/>
 




 5 Posts in Topic:
OpenDialog Filter Question..
SpreadTooThin <bjobrie  2007-08-02 12:09:13 
Re: OpenDialog Filter Question..
Joe Strout <joe@[EMAIL  2007-08-02 16:14:59 
Re: OpenDialog Filter Question..
Anic <sans@[EMAIL PROT  2007-08-04 20:31:51 
Re: OpenDialog Filter Question..
Joe Strout <joe@[EMAIL  2007-08-06 09:29:58 
Re: OpenDialog Filter Question..
support@[EMAIL PROTECTED]  2007-08-03 03:00:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:40:59 CDT 2008.