Why FolderBrowserDialog dialog does not scroll to selected folder?

前端 未结 14 1624
失恋的感觉
失恋的感觉 2020-11-30 02:28

As show in this screen shot, the selected folder is not in the view. It needs to be scrolled down to view the selected folder.

14条回答
  •  生来不讨喜
    2020-11-30 02:44

    I have found that:

    1. If .SelectedPath ends with "\", the Dialog will scroll down to make the path visible.
    2. If .SelectedPath does not end with "\", the path is still selected, but not ensured visible.

提交回复
热议问题