PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 is used to identify:
  • WINDEV the name of the xlsx file associated with a Spreadsheet control. This name is initialized by SpreadsheetLoad and SpreadsheetSave.
  • WINDEV the name of the file associated with an Image Editor control. This name is initialized by PicOpen and PicSave.
  • WINDEVAndroidiPhone/iPad the name of the PDF file associated with a PDF Reader control. This name is initialized by PDFReaderOpen.
  • WINDEV the name of the DOCX file associated with a Word Processing control. This name is initialized by DocOpen and DocSave.
  • Versions 27 and later
    WINDEVWEBDEV - Server code the name of the wddiag file associated with a Diagram Editor control. This name is initialized by DiagramLoad and DiagramSave.
    New in version 27
    WINDEVWEBDEV - Server code the name of the wddiag file associated with a Diagram Editor control. This name is initialized by DiagramLoad and DiagramSave.
    WINDEVWEBDEV - Server code the name of the wddiag file associated with a Diagram Editor control. This name is initialized by DiagramLoad and DiagramSave.
Versions 25 and later
Android This property is now available for PDF Reader controls in Android applications.
iPhone/iPad This property is now available for PDF Reader controls in Android applications.
New in version 25
Android This property is now available for PDF Reader controls in Android applications.
iPhone/iPad This property is now available for PDF Reader controls in Android applications.
Android This property is now available for PDF Reader controls in Android applications.
iPhone/iPad This property is now available for PDF Reader controls in Android applications.
Versions 27 and later
WINDEV This property is now available for Diagram Editor controls in WINDEV applications.
WEBDEV - Server code This property is now available for Diagram Editor controls in WEBDEV sites.
New in version 27
WINDEV This property is now available for Diagram Editor controls in WINDEV applications.
WEBDEV - Server code This property is now available for Diagram Editor controls in WEBDEV sites.
WINDEV This property is now available for Diagram Editor controls in WINDEV applications.
WEBDEV - Server code This property is now available for Diagram Editor controls in WEBDEV sites.
Example
WINDEV
IF PSHEET_MySpreadsheet.FilePath <> "" THEN
STC_SpreadsheetTitle = PSHEET_MySpreadsheet.FilePath
END
Syntax

Finding out 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.
  • Versions 27 and later
    WINDEVWEBDEV - Server code Diagram Editor control.
    New in version 27
    WINDEVWEBDEV - Server code Diagram Editor 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.
    • Versions 27 and later
      WINDEVWEBDEV - Server code Diagram Editor controls.
      New in version 27
      WINDEVWEBDEV - Server code Diagram Editor 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