Results 1 to 2 of 2

Thread: FileListBox Pattern > More Than One?

  1. #1

    Thread Starter
    Junior Member JustinMs66's Avatar
    Join Date
    Jun 2006
    Location
    CA, USA, EARTH
    Posts
    21

    Question FileListBox Pattern > More Than One?

    I have a "FileListBox", and want it to only show certain file extensions. but so far i have only been able to limit it to one extention, by using the "Pattern" property, i can't make it work with more than one though.
    file.Pattern = "*.jpg" DOES work
    file.Pattern = "*.jpg,.gif" does NOT work, and i need it to show more than 1 extention.

    Little help?

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: FileListBox Pattern > More Than One?

    2 problems with the way you are doing it. here's the corrections:
    1. Put a * in front of both of them
    2. Separate them with a semi-colon, not a comma
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width