How to choose the catalog with OpenDialog

xiaoxiao2021-03-06  73

You can use SELECTDIRECTORY (need Uses filectrl)

VAR DIR: STRING; Begin Dir: = 'C: /'; if SelectDirectory (Dir, [SDALLOWCREATE, SDPERFORMCREATE, SDPROMPT], 0) THEN ShowMessage (DIR);

转载请注明原文地址:https://www.9cbs.com/read-121028.html

New Post(0)