This example shows the annotations associated with the SelectFile editor: %%PEInitialDirectory sets the default directory for the file dialog box; %%PEFilter limits the available file types in the “Files of Type” field; %%PEDialogTitle specifies the title of the file dialog box title; and %%PEDefaultExt sets the default file extension.
<%%PEEditorType("SelectFile"),_
%%PEInitialDirectory("C:\Temp"),_
%%PEFilter("Text files (*.txt)|*.txt|All files (*.*)|*.*"),_
%%PEDialogTitle("Save File"),_
%%PEDefaultExt("txt")>_
Parameter Rule fileSelect As Any = 0
When you specify a SelectFile editor, a Browse icon appears in the related Value field in the Part Editor.
When you click the Browse icon, the file dialog box appears.