PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property FilePath allows you to know:
  • WINDEV the name of xlsx file associated with a Spreadsheet control. This name is initialized by SpreadsheetLoad and SpreadsheetSave.
  • WINDEV the name of file associated with an Image Editor control. This name is initialized by PicOpen and PicSave.
  • the name of PDF file associated with a PDF Reader control. This name is initialized by PDFReaderOpen.
  • WINDEV the name of DOCX file associated with a Word Processing control. This name is initialized by DocOpen and DocSave.
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 file associated with the control.
<Control to use>: Control name
Name of control to use:
  • WINDEV Spreadsheet control,
  • WINDEV Image Editor control,
  • WINDEV Word Processing control,
  • PDF Reader control.
Remarks
  • By default, the Property FilePath corresponds to an Void string .
  • This property is available for:
    • WINDEV the Spreadsheet controls found in a window.
    • WINDEV the Image Editor controls.
    • WINDEV the Word Processing controls.
    • the PDF Reader controls.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment