Notifications
Clear all
[Closed] Browse
Jan 09, 2005 10:24 am
Hi,
FilePath = getOpenFileName types:“Max (*.max)”
[font=Verdana][size=2][color=white]This opens the file dialog, but it shows me all the files in library,
although I asked just for max files.
[/color][/font][/size]
[font=Verdana][size=2][/font][/size]
[font=Verdana][size=2]Thanks.
[/font][/size]
Jan 09, 2005 10:24 am
i guess the types property shud be written somewhat like this…
types:“Data(.dat)|.dat|Excel(.csv)|.csv|All|.|”
Jan 09, 2005 10:24 am
FilePath = getOpenFileName types:“Max (.max)|.max”
The first part specifies the text to be displayed in the list. The second after the vertical line specifies the filter pattern. You can add as many pairs like this as you want:
FilePath = getOpenFileName types:“Max (.max)|.max|All Files (.)|.”