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 FilePath property gets:
  • WINDEV the name of the xlsx file associated with a Spreadsheet control. This name can be initialized using SpreadsheetLoad and SpreadsheetSave.
  • WINDEV the name of the file associated with an Image Editor control. This name can be initialized using PicOpen and PicSave.
  • WINDEVAndroidiPhone/iPad the name of the PDF file associated with a PDF Reader control. This name can be initialized using PDFReaderOpen.
  • WINDEV the name of the DOCX file associated with a Word Processing control. This name can be initialized using DocOpen and DocSave.
  • WINDEVWEBDEV - Server code the name of the wddiag file associated with a Diagram Editor control. This name can be initialized using DiagramLoad and DiagramSave.
Example
WINDEV
IF PSHEET_MySpreadsheet.FilePath <> "" THEN
STC_SpreadsheetTitle = PSHEET_MySpreadsheet.FilePath
END
Syntax

Getting the name of the file associated with the control Hide the details

<Result> = <Control to use>.FilePath
<Result>: Character string
Name of the file associated with the control.
<Control to use>: Control name
Name of the control to be used:
  • WINDEV Spreadsheet control,
  • WINDEV Image Editor control,
  • WINDEV Word Processing control,
  • WINDEVAndroidiPhone/iPad PDF Reader control.
  • WINDEVWEBDEV - Server code Diagram Editor control.
Remarks
  • By default, the FilePath property is an empty string.
  • This property is available for:
    • WINDEV Spreadsheet controls in a window.
    • WINDEV Image Editor controls.
    • WINDEV Word Processing controls.
    • WINDEVAndroidiPhone/iPad PDF Reader controls.
    • WINDEVWEBDEV - Server code Diagram Editor controls.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/08/2023

Send a report | Local help