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...
IWListNext (Function)
Displays the next internal window in the list of internal windows browsed by an Internal Window control.
Creating and handling an item
The main operations that can be performed on an item are as follows......
ERR_PARSER
Handling TimeLine controls programmatically
A TimeLine control can be......
How to choose the data source of a control?
This help page presents the different data sources available for a control....
<Page>.FromFile (Function)
Automatically updates the controls of a page with: the values of the bound items in the current record (loaded in memory) of the data file described in the data model editor. This operation is performed regardless of the state of the controls (grayed, inactive or invisible). the values of the bound WLanguage variables. This operation is performed regardless of the state of the controls (grayed, inactive or invisible)....
Binding a Scrollbar control to an item
A scrollbar can be bound to an item in a data file, query, etc....
EmulateWarning (Function)
Emulates the next call to Warning and automatically clicks the "OK&quot button.
EmulateError (Function)
Emulates the next call to Error and automatically clicks the "OK&quot button.
EmulateInfo (Function)
Emulates the next call to Info and automatically clicks the "OK&quot button.
EmulateMenu (Function)
Emulates the next menu that will be opened and automatically runs the menu option passed as parameter.
HPrepareQuery (Function)
Initializes a query and declares this query to the database server in order to optimize the next executions of this query.
Constants for managing XLS files
List of constants used by the functions for managing XLS files....
<Source>.PrepareQuery (Function)
Initializes a query and declares this query to the database server in order to optimize the next executions of this query.
Testing a Java project and compiling it
When your Java application is developed, you can run the test of the Java project and compile it before creating the archive......
InReportsAndQueriesMode (Function)
Indicates whether the code is run during the test of a report or query in Reports & Queries.
EtapeSuivante (Property)
The Property NextStep allows you to authorize or not the passage to the next step of the guided tour from the step bubble.
Native DB2 Connector: Programming with HFSQL functions
To use a DB2 database with Native Connector, the structure of DB2 tables must be imported into the WINDEV or WEBDEV analysis......
Handling Word Processing controls programmatically
Word Processing controls can be handled programmatically......
3. Types of accessible files
2. Types of accessible files
Types of accessible files...
Zombie data files and items
During the life of an application, items live and die......
ChangeKeyboard (Function)
Gets or sets the language associated with the keyboard.
Path (Property)
The Path property gets and sets a path.
Creating help pages
A help system includes several pages......