Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

How to Filter Open File Dialog by Filename Pattern (e.g., PLAN_*.TXT) in Xojo?

$
0
0

Hi everyone,

I’m trying to use OpenFileDialog in Xojo to allow users to select a file, but I want to filter the displayed files by a specific filename pattern, such as PLAN_*.TXT.

I know that Xojo’s OpenFileDialog.Filter only supports file extensions (e.g., "txt"), but on Windows, the native file dialog supports pattern-based filtering (e.g., "PLAN_*.TXT").
Is there a way in Xojo to apply a filename pattern filter (e.g., PLAN_*.TXT) directly in OpenFileDialog, without using Windows declares? Or is using the Windows API the only way to achieve this?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles