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...
zipListFile (Function)
Returns the list of files found in an archive.
pdfSignature (Type of variable)
The pdfSignature type is used to define the advanced characteristics of the signature that will be applied to a PDF file when signing an existing PDF (via PDFSign).
zipAddFile (Function)
Adds a file (of any type) into an archive in CAB, ZIP, WDZ and 7z, TAR or TGZ (TAR.GZ) format and compresses it.
Configuring the assisted universal replication
If your application uses assisted universal replication via a .WER file, the setup creation wizard proposes to configure the setup to install the different tools required for this type of replication....
BREAK statement/"BREAK:" label
The keyword BREAK can correspond: to the BREAK statement: it allows you to exit a set of instructions and run the rest of the current process. to the BREAK label: it allows you to declare a section of code in a loop. This code will be run when exitingfrom the loop with a "BREAK" statement....
Managing a Text token Edit control
...Interfaces that use token controls are common. A Token control contains variable amounts of information in a limited area....
PositionToLine (Function)
Returns the number of the line that contains a character identified by its position in a block of text.
TextEllipsis (Function)
Returns the text with ellipsis displayed in an Edit, Combo Box or Static control.
TokenEnabled (Property)
The TokenEnabled property determines if an Edit control is a "Text token" Edit control.
HTMLEditorInsert (Function)
Inserts text or HTML code at the cursor position in an HTML Editor control.
<HTML editor>.Insert (Function)
Inserts text or HTML code at the cursor position in an HTML Editor control.
gCoord (Function)
Builds a sequence of characters used to define the position of the input cursor for a text.
DocPositionTopPage (Function)
Returns the position of the first character in a given page in a Text Processing control.
HCheckStructure (Function)
Defines the mode for comparing data files.
The PDF Reader control
The "PDF Reader" control is an advanced control that allows end users to view PDF documents in their applications, without an external software......
nWDSetCallbackNext
Set the "callback" called when using the WDKEY and RETURNWDKEY keywords for the next window to open (in C, Pascal and Visual Basic only)......
zipSize (Function)
Returns the size of archive (in ZIP, RAR, CAB, WDZ or 7z format): the size of all compressed files found in the archive. the size of all files found in the archive before compression....
Opening a help file (CHM, HTML or PDF)
There are several ways to open a help file......
The "Site directory" pane
The "Site directory" pane is used to manage the "<My project>_WEB" directory of the current project......
BurnerAddDirectory (Function)
Adds all the files found in a directory to the compilation.
HModifyStructure (Function)
Used to update the structure of an HFSQL data file by performing an automatic data modification (also called data synchronization).
Functions for managing threads (prefix syntax)
List of functions for managing threads (prefix syntax)...
<Source>.FileExist (Function)
Determines: whether a file exists, which means whether it was physically created (HCreation or HCreationIfNotFound). whether a view or a query was defined....
<Source>.ModifyStructure (Function)
Used to update the structure of an HFSQL data file by performing an automatic data modification (also called data synchronization).
<Source>.NbRec (Function)
Returns the number of records in a file, query or HFSQL view: active records, crossed records, deleted records, etc.