ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The DefaultFilePath property gets and sets the full file name (path and file name) suggested by default when saving a document in a Word Processing or HTML Editor control via the "Save as" option.
Example
WP_WPControl.DefaultFilePath = "C:\mydocs\doc.docx"
Syntax

Getting the full file name suggested by default Hide the details

<Result> = <Control used>.DefaultFilePath
<Result>: Character string
Full file name suggested by default when saving a document via the "Save as" option.
<Control used>: Control name
Name of the control used:
  • Word Processing control.
  • HTML Editor control.

Changing the full file name suggested by default Hide the details

<Control used>.DefaultFilePath = <Default path>
<Control used>: Control name
Name of the control used:
  • Word Processing control.
  • HTML Editor control.
<Default path>: Character string
Full file name suggested by default when saving a document via the "Save as" option.
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment

Last update: 09/11/2023

Send a report | Local help