Article # 336, added by Geoworks, historical record
| first | previous | index | next | last |

Specifying the path to open in a GenFileSelector.



Q. When limiting the search in a file selector to a single directory,
   how does one specify the name of the directory in the .ui file?

A. To specify the path of a GenFileSelector, add ATTR_GEN_PATH_DATA.

   To limit the ability to change directories, you'll have to turn off
   the FSA_ALLOW_CHANGE_DIRS attribute.