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.
  • 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 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.
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,
  • PDF Reader 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.
    • PDF Reader controls.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment