bdeSetBlockParameterDialogFilePath

Sets the file path of a dialog box.

Syntax

bdeSetBlockParameterDialogFilePath(dialog, filepath)

Inputs

dialog
The dialog box to set the filepath of.
Type: dialog
filepath
The filepath to set for the dialog box.
Type: string

Examples

Set the filepath of a dialog box:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          widget = bdeGetTopLevelWidget();
          dialog = bdeCreateBlockParametersDiaglogFromBlock(block, widget, false);
          bdeSetBlockParameterDialogFilePath(dialog, 'C:\Users\user\Desktop\dialogFilePath');