Remove the dot.

Ronald Vogelaar
--
http://www.rovosoft.com

----- Original Message ----- From: "Bill Johnson" <[EMAIL PROTECTED]>
To: "REALbasic NUG" <[email protected]>
Sent: Tuesday, September 12, 2006 5:16 PM
Subject: FileType not working


This code will allow me to select any file. That's not what I want or meant. I only want to allow .mp3 files to be selected.

  Dim myType As FileType
  myType = New FileType
  myType.Name= "audio"
  myType.Extensions = ".mp3"
  Dim dlg As New OpenDialog
  dlg.Filter = myType

  Dim f As FolderItem
  f = dlg.ShowModalWithin(self)


Bill Johnson
:::::::: [EMAIL PROTECTED] :::::::


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

__________ NOD32 1.1751 (20060912) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to