![]() |
【转帖】file open dialog bo
file open dialog box
i have been trying to programmatically populate the file/open dialog box using swapp::getopenfilename; for example: fname = swapp.getopenfilename ("open file", "123456", "*.sldasm|*.sldasm", 0, options, cname, dname) this populates the file type dropdown listbox with *.sldasm, but doesn't populate the file name dropdown listbox. does anyone know how to populate the file name box, or am i going about this completely the wrong way? should i call swapp.setcurrentworkingdirectory, or setpromptfilename? please advise! thanks!! to defeat the wheat, go against the grain. the file has to exist and be in the folder that opens intially in order for it to populate the filename box good to know. thanks, luke. to defeat the wheat, go against the grain. quick |
所有的时间均为北京时间。 现在的时间是 02:55 AM. |