ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Report based on a text file
In a report based on a text file, the information to print is read from a text file or is directly assigned in the report controls...
Translating a text file with WDTRAD
fListResource (Function)
Lists the resources integrated to the application.
HImportText (Function)
Imports a Text file into an HFSQL Classic or Client/Server data file. This data file must have been defined in the data model editor, or declared with HDeclare, HDeclareExternal or HDescribeFile).
<Source>.ImportText (Function)
Imports a Text file into an HFSQL Classic or Client/Server data file. This data file must have been defined in the data model editor, or declared with HDeclare, HDeclareExternal or HDescribeFile).
Handling the external files
WINDEV, WINDEV Mobile and WEBDEV propose several functions allowing you to manage the external files from your WINDEV/WINDEV Mobile applications or from your WEBDEV sites...
fBuildRelativePath (Function)
Returns the path to a file relative to a reference directory.
fInsertTextAtBeginning (Function)
Inserts text at the beginning of a file without overwriting the existing text.
fAddBuffer (Function)
Adds the content of a buffer at the end of a file.
fFind (Function)
Finds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.Write (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fLoadText (Function)
Loads the contents of a text file into any text field or variable (string variable, window edit control, report label field, etc.).
How to read in a text or CSV file?
This help page explains how to read the content of a text or CSV file.
Print modes of a report
Several print modes are available for a report.
fAddText (Function)
Adds the content of a character string at the end of a file.
fWatchDirectory (Function)
Detects changes made to the contents of a directory.
fSaveText (Function)
Creates and fills a text file with the content of a text control or text variable (string variable, edit control in a window, Static Text control in a report, ...).
fWrite (Function)
Writes:
  • a character string to an external file.
  • a memory section.
fExtractResource (Function)
Extracts a resource from the application into a physical device location.
How to write into a text or CSV file?
This help page explains how to write into a text or CSV file.
fIsImage (Function)
Determines whether a file on disk or in a buffer corresponds to an image format recognized by WINDEV or WEBDEV.
fLoadBuffer (Function)
Loads the content of an external file (text, image, ...) in a buffer variable.
<DiskFile variable>.Find (Function)
Finds a character string or a buffer in a file opened by fOpen.
fWatchFile (Function)
Starts watching a file.
fSaveBuffer (Function)
Creates and fills a text file with the content of a string or buffer variable.
Result of a query in test mode
After its execution in test mode (see Running the query test), the result of the query can be...
Watermark (Type of variable)
The Watermark type is used to handle the text printed in watermark in the reports created with the report editor or through programming.
fTempPath (Function)
Returns the name of directory used to store the temporary files.
HAddLink (Function)
Adds an integrity rule between two data files on the server.
HDeleteLink (Function)
Deletes an integrity rule between two data files on the server.
zipAddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
File download functions
The following functions are used to manage downloads......
<Connection variable>.DeleteLink (Function)
Deletes an integrity rule between two data files on the server.
DriveDeleteDirectory (Function)
Deletes a directory (and the files it contains) on an Drive (remote disk).
<Variable Drive>DeleteDirectory (Function)
Deletes a directory (and the files it contains) on an Drive (remote disk).
gFontItalic (Function)
Builds a sequence of characters used to specify whether or not the text that follows the call to this function is in italic type.
ManageHTML (Property)
ManageHTML is used to configure the management mode of the HTML format in a full-text index.
ManageRTF (Property)
ManageRTF is used to configure the management mode of the RTF format in a full-text index.
gpwGetFileInfo (Function)
Retrieves the directory of the data files found in the User Groupware.
AutomaticTextColor (Property)
The AutomaticTextColor property is used to identify and change the color to be used for the text of the elements that use the "automatic" color.
DeleteButton (Property)
The DeleteButton property is used to determine if there should be an automatic delete button in a Text Edit control, and to change its position.
gBackground (Function)
Builds a sequence of characters used to define the display color (background color of a text, circle, rectangle, ...).
TextWidth (Function)
Calculates the width (in pixels) of the text displayed in an edit control, in a Combo Box control or in a Static control.
TextHeight (Function)
Calculates the height (in pixels) of the text displayed in an edit control, in a Static control or in a Combo Box control.
dText (Function)
Draws a text: in an Image control, in an Image variable, in a WDPic variable (on the background layer), in a picLayer variable....
Automated tests: Test-specific functions
List of automated tests: Test-specific functions...
HAddScheduledOptimization (Function)
Adds an optimization task of HFSQL Client/Server data files....
Testing a dynamic project from the administrator
Running the test from the WEBDEV administrator (WDAdmin) is used to check ......
How to fill a TreeView control from a data file? (prefix syntax)
By default, the TreeView control cannot automatically display the data coming from a data file......
HListTrigger (Function)
Returns the list of triggers applied to one or more HFSQL data files.
Handling data files in PHP
WEBDEV allows you to create a PHP site that handles data files......