How to attach a "Choose File" dialog

What is the proper command/syntax to have a “Choose File” dialog box attached to the main window. Right now I am using the standard addition “choose file” as the means to choose a file. I would like to attach that to my main window.

Thanks in advance,
Brad Bumgarner, CTA

You can use the display command with the open-panel class to choose files and/or folders.

Bruce,

Thanks for the reply. When I saw this question listed, I didn’t even remember asking it. Then I saw it was posted in 2003! :lol:

It’s amazing to think about how much I’ve learned since then.

Thanks again,
Brad Bumgarner, CTA