The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_filesys
Class: TUnivSaveDialog
Declaration: property ForbiddenDir: string;

The ForbiddenDir property specifies a directory which must not be used to save any files. The directory must be specified by its full path.

If the user tries to store a file in the forbidden directory the OnForbiddenDir event is triggered. This gives the programmer the opportunity to take appropriate counter measures.

Hint: Please note that the forbidden directory is checked only if the OnForbiddenDir event is assigned.

Last Update: 2015-Feb-02