[This is preliminary documentation and subject to change.]
This is a special control designed for use on a browse dialog. It is designed to be used with a DirectoryCombo and DirectoryList control on the same dialog. It displays the currently selected folder name or the entire path in an edit field. The property associated with this control has to have an initial value. This control also supports entering a full path in both modes. It first checks if the string enters is a valid path. If it is, it interprets the string as such. One can also enter a UNC path to a drive that has no drive letter associated with it.This control does not let the focus leave if the selection is not valid.
The property associated with this control can be only string valued.
Enabled
Indirect
Sunken
Visible
Default
Enabled
Indirect
IndirectPropertyName
Position
PropertyName
PropertyValue
Text
Visible
WindowHandle
None.
Windows: Yes.
The control is derived from the Edit control.
For compatibility with screenreaders, when authoring a dialog with an PathEdit control as the first active control, you must make the text field belonging to the edit field the first active control in the Dialog Table. Since the static text cannot take focus, when the dialog is created the edit field will have the focus initially as intended, but doing this ensures that screenreaders show the correct information.