Use the OpenFolderDialog component

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • Open a folder dialog so you can open a folder from there with the OpenFolderDialog component. After opening the folder dialog, you can create a folder.

    시작하기 전에

    Role required: none

    이 태스크 정보

    There are properties that you configure for the OpenFolderDialog component. For more information, see Dialog component properties.

    프로시저

    1. In the Toolbox pane, navigate to Utilities>Dialogs.
    2. Drag the OpenFolderDialog component onto the Design surface.
    3. To open the folder dialog, right-click the OpenFolderDialog component bar.
    4. In the Browse For Folder dialog, select the required folder and click Open.
    5. To configure the outputs from the data ports, see Configure output port properties.
      The Result (Boolean) and Path (String) returns the Boolean response to whether you had opened a folder and the folder name and path respectively.
    6. Connect the data and control ports of OpenFolderDialog to the corresponding ports of other components.
      표 1. OpenFolderDialog - Ports
      Port type Purpose of connection Mandatory?
      Data Out (Result) Passes the boolean response to whether you had opened a folder to the next component. Yes
      Data Out (Path) Passes the path to the folder you have opened from the folder dialog to the next component. Yes
      Control In Passes the control from the previously executed component. Yes
      Control Out Passes the control from the Get Text component to the next component to be executed. Yes
    7. 옵션: To test the component, click Run under the DESIGN tab.