ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

End
END can correspond to:
  • the END keyword of WLanguage used to specify the end of a loop.
  • the End property, which can be used on EventTimeline variables.
....
<Connection variable>.TransactionEnd (Function)
Validates the current transaction:
  • the modifications performed on the data file since the start of transaction (HTransactionStart) are validated.
  • the transaction file is deleted (if the transaction is the last transaction in progress for a network application)
  • the records locked in read-only by the transaction are unlocked.
HTransactionEnd (Function)
Validates the current transaction:
  • the modifications performed on the data file since the start of transaction (HTransactionStart) are validated.
  • the transaction file is deleted (if the transaction is the last transaction in progress for a network application)
  • the records locked in read-only by the transaction are unlocked.
MCIEnd (Function)
Positions at the end of a media file that was opened beforehand MCIOpen.
CriticalSectionEnd (Function)
Marks the end of a critical section: another thread will be able to run the code.
TableEnd (Function)
Stops the manual iteration of data file linked to a Table control based on a data file.
EndProgram (Function)
Ends the execution of the current program.
ChronoEnd (Function)
Stops a stopwatch and returns the time elapsed (in milliseconds) since the start of timing (call to ChronoStart).
MatInvert (Example)
Usage example of the MatInvert function
ThreadWait (Function)
Waits for the end of the execution of the specified thread.
ExplorerRetrieve (Example)
Usage example of the ExplorerRetrieve function
dText (Example)
Usage example of the dText function
DDEConnect (Example)
Usage example of the DDEConnect function
ExplorerAccept (Example)
Usage example of the ExplorerAccept function
RegistrySeek (Function)
Seeks a character string in the registry.
RTFSearch (Function)
Finds a character string in an RTF control (found in a window or in a report) or in a character string containing text in RTF.
StatSum (Example)
Usage example of the StatSum function
StatMin (Example)
Usage example of the StatMin function
StatMax (Example)
Usage example of the StatMax function
TreeListItem (Example)
Usage example of the TreeListItem function
EnumSubElement (Function)
Used to enumerate the subelements of a project element.
dSaveImageGIF (Example)
Usage example of the dSaveImageGIF function
TwainState (Function)
Returns the status of the current source.
MenuIsMarked (Example)
Usage example of the MenuIsMarked function
ArrayCopy (Function)
Copies the content of an array to another array.
MCIStatus (Function)
Returns the status of a media file that was opened beforehand MCIOpen.
MatReadColumn (Example)
Usage example of the MatReadColumn function
MemOut (Function)
Used to find out whether the browse performed on a memory area is outside this memory area.
ExplorerAccept (Function)
Enables or disables the ability to perform "Drag and Drop" from the Windows explorer to a WINDEV window or control.
FinRepayVal (Example)
Usage example of the FinRepayVal function
dSaveImageBMP (Example)
Usage example of the dSaveImageBMP function
MemSeek (Example)
Usage example of the MemSeek function
Oracle Native Connector: Retrieve the output value of a stored procedure
The Native Oracle Connector is used to:
  • specify the input values during the call to a stored procedure.
  • retrieve the output values after a call to a stored procedure.
Oracle Native Connector: Features and notes
Remarks and specific features of the Native Oracle Connector
MCIClose (Function)
Closes a media file.
WDTestSite: Scalability test
The stress tests are used to check...
TableToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
INIRead (Example)
Usage example of the INIRead function
MCIExecute (Function)
Runs an MCI command (Media Control Interface).
MCIPlay (Function)
Plays a media file.
ExceptionInfo (Function)
Retrieves information about the current exception.
MCIBeginning (Function)
Positions at the beginning of a media file that was opened beforehand MCIOpen.
Sound (Function)
Plays a sound in WAV format.
MCITrackCount (Function)
Returns the number of tracks found in a media file that was opened beforehand (MCIOpen).
MCIOpen (Function)
Opens a media file.
WDTestSite: Creating a scenario
To create a scenario, the following elements must be installed on the current computer...
Creating a translation file
WDINT allows you to create a translation file.
MCIPause (Function)
Pauses playback of the media file previously opened (MCIOpen).
TableToWord (Function)
Creates a Word file (.RTF) from the data found in a Table or TreeView Table control.
MCITrack (Function)
Returns the current track of a media file previously opened (MCIOpen).
MCIHeight (Function)
Returns the height (in pixels) of a media file used to display images.
MCIPosition (Function)
Returns or changes the current position in a media file previously opened (MCIOpen).
MCIWidth (Function)
Returns the width (in pixels) of a media file used to display images.
Compile (Function)
Dynamically compile a Procedure whose source code is supplied (dynamic compilation).
MCISize (Function)
Returns or changes the size of a media file previously opened (MCIOpen).
NextTitle (Function)
Modifies the title of next window to open.
PositionOccurrence (Function)
Finds the Xth position of a string within another string.
MCIWindowSize (Function)
Changes the size and position of the display window of a media file previously opened (MCIOpen).
MCIVolume (Function)
Modifies or returns the sound volume.
Position (Function)
Finds the position of a specified string within another string.
ExceptionThrow (Function)
Artificially triggers the security mechanism of WLanguage by throwing an exception.
MCIPositionFormat (Function)
Fixes the format used to define the position in a media file (opened by MCIOpen).
DateToInteger (Function)
Converts a date to an integer.
TableInsert (Function)
Inserts a row into:
  • a Table control,
  • a TreeView Table control,
  • tables displayed in a Combo Box control.
Thread execution
At runtime, an application runs in a main thread...
MemFound (Function)
Checks whether the sought element was found.
ListCount (Function)
Returns the number of elements in a List Box, ListView or Combo Box control.
TwainSelectSource (Function)
Displays a standard dialog box used to list the different Twain devices available on the current computer.
dArc (Function)
Draws an arc of circle or an arc of ellipse:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
ExtractString (Function)
Allows you to:
  • extract a substring from a string based on a specified string separator.
  • search for substrings in a string based on a specified string separator.
TableSave (Function)
Updates or adds the record bound to the current row in the Table or TreeView Table control.
Functions for handling directories and external files
List of functions for handling external files
dChord (Function)
Draws the chord of a circle (intersection between an ellipse and a straight line):
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
Encrypt (Function)
Encrypts a string in binary format or in ASCII format.
Date and Time functions
List of functions for managing dates and times
TwainListSource (Function)
Returns the list of drivers for the Twain devices connected to the current computer.
InitWindow (Function)
Initializes (or not) the controls to zero and runs the initialization processes of the controls and the window.
dFill (Example)
Usage example of the dFill function
ChronoStart (Function)
Starts a stopwatch to measure the duration of a process (in milliseconds) and resets a running stopwatch.
TableAdd (Function)
Adds a row in:
  • a Table control,
  • a TreeView Table control,
  • a Combo Box control "with table" (Table control displayed in a Combo Box control).
dSlice (Function)
Draws a circle section or an ellipse section:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
TableDisplay (Function)
Refreshes a Table or TeeeView Table control from a given position:
  • for a field linked to a file: changes made to the linked data file are reflected in the field..
  • for a programmatically manipulated field: calculated columns are re-calculated.
Close (Function)
Closes a WINDEV window (and returns a value if necessary).
StringFormat (Function)
Formats a character string according to the selected options.
StringCompare (Function)
Compares two strings character by character:
  • according to the sequence of ASCII characters.
  • according to the alphabetical order.
MenuAdd (Function)
Adds an existing context menu to the main menu of the current window.
String functions
List of functions for managing character strings
ArraySort (Function)
Sorts a WLanguage array.
ArrayInsert (Function)
Inserts an element at a given position:
  • into a one-dimensional array.
  • into an associative array.
  • into an advanced array property (array of gglCalendar events, etc.).
  • into a WLanguage list.
MCI functions
List of MCI functions
MessTranslate (Function)
Retrieves a message found in the code of a program in the current language.
ArraySeek (Function)
Searches for the index of an element in a WLanguage array.
ArrayAdd (Function)
Adds an element in last position:
  • of a one-dimensional WLanguage array.
  • of an array property of an advanced variable type (array of events of a gglCalendar variable, etc.).
  • of a WLanguage list.
MatchRegularExpression (Function)
Checks whether a character string matches a specific format and retrieves the different substrings that match the format.
WeekNumber (Function)
Returns the week number within the year that corresponds to the specified date (this date is a character string).
EnumMenu (Function)
Returns:
  • the name of nth option or sub-option found in the main menu of window.
  • the name of nth option or sub-option found in a custom context menu (created with WINDEV or WINDEV Mobile).
The Windows registry
Several WINDEV functions can be used to handle the Windows registry...
FinCurrentVal (Function)
Returns the current value of investment.
gLine (Function)
Builds a sequence of characters containing a line.
ErrorOccurred (Variable)
ErrorOccurred is a preset variable of WLanguage indicating the result of the last WLanguage function used.
RegistryNextKey (Function)
Identifies the key found after the specified key in the Windows registry.
DnDCacheData (Function)
Indicates the type of data and the data to copy/move during Drag/Drop.
DnDCursor (Function)
Manages the mouse cursor and specifies the action allowed during Drag and Drop.
RegistryDeleteKey (Function)
Deletes a subkey from the Windows registry.
ControlDelete (Function)
Permanently deletes a control from a window, page or report.
Managing the application language programmatically
A multilingual application can be distributed in multiple languages...
ControlNoSpace (Function)
Specifies whether the space characters on the right of the value found in the control are deleted.
EventWait (Function)
Locks the current thread while waiting for the specified event to be opened.
Clipboard (Function)
Retrieves the text or image found in the system clipboard.
EventDestroy (Function)
Explicitly destroys an event.
EnumControl (Function)
Returns the name of Nth control found in the specified element.
ReturnToCapture (Function)
Stops the current process and forces the input in the specified control, window or page.
FontCreate (Function)
Creates a font definition.
SemaphoreStart (Function)
Locks the current thread until the semaphore is opened (which means until a "free" spot becomes available in the protected section).
SemaphoreDestroy (Function)
Explicitly destroys a semaphore.
String constants
List of constants used by string functions
ThreadStop (Function)
Stops a secondary thread. Function not recommended.
ListInsert (Function)
Inserts an element into a List Box, ListView or Combo Box control populated programmatically.
ThreadWaitSignal (Function)
Locks the current thread until it receives a signal from another thread.
RTFReplace (Function)
Replaces or inserts a character string in an RTF control (found in a window or in a report) or in a string in RTF (containing a text in RTF).
ThreadExecute (Function)
Starts the execution of a secondary thread.
ListAdd (Function)
Adds an element to a List Box, ListView or Combo Box control populated programmatically.
RTFAdd (Function)
Adds a character string (in RTF or not) at the end of RTF edit control, RTF control in a report or character string containing a text in RTF.
RegistryFirstSubKey (Function)
Identifies the path of first subkey of specified key in the Windows registry.
EnumElement (Function)
Enumerates project elements: windows, pages, reports, queries, etc.
Confirm (Function)
Displays a message in a standard dialog box with the "Yes", "No" and "Cancel" options, and returns the user's choice.
ExplorerRetrieve (Function)
Retrieves the number and the name of the files "dropped" from the explorer.
OKCancel (Function)
Displays a message in a standard dialog box that proposes "OK" and "Cancel" and returns the user's choice.
TableToExcel (Function)
Creates an Excel file with the data from a Table or TreeView Table control.
ExecutionMode (Function)
Allows you to:
  • find out and/or modify the behavior of the application or site when some errors are generated.
  • optimize the calls to the functions declared externally.
  • find out and/or change how the application uses JITc.
  • find out and/or modify the management mode of low references for all the instantiated objects.
Constants for Table, TreeView Table, Looper and List Box controls
List of constants used by the functions for managing Table, TreeView Table, Looper and List Box controls.
Thread management constants
Constants used by functions that handle threads, critical sections, semaphores, mutexes, etc.
ExeRun (Function)
Executes a program (an executable file, for example) from the current application.
TableAddLine (Function)
Adds a row in:
  • a Table control,
  • a TreeView Table control.
TableInsertLine (Function)
Inserts a row into:
  • a Table control,
  • a TreeView Table control.
TableSelectCount (Function)
Returns the number of selected elements in a Table or TreeView Table control (especially multi-selection controls).
RTFSelection (Function)
Modifies or lists the attributes of the text currently selected in an RTF field (in a WINDEV window or report).
SemaphoreCreate (Function)
Creates a semaphore.
ListSeek (Function)
Searches for an element in a List Box, ListView or Combo Box control (including the values described by gStoredValue).
SAP ASE Native Connector (Sybase): Features and notes
The following paragraphs present the main aspects and specific features of the Native SAP ASE Connector (also called Native Sybase Access)...
Message (Function)
Displays or removes a message from the status bar of the current window or browser.
RTFInsert (Function)
Inserts a character string in RTF into the content of an RTF control (found in a window or in a report) or into the content of a character string in RTF.
ListDisplay (Function)
Refreshes a List Box, ListView or Combo Box control based on a data file
YesNo (Function)
Displays a message in a standard dialog box that proposes "Yes" and "No" and returns the user's choice.
Min (Function)
Returns the lowest value.
EventCreate (Function)
Creates an event.
Defining specific character sets in HFSQL data files
When an application displays or saves data in HFSQL data files, this data is typed in the current language...
TableSelect (Function)
Returns the index of the selected element in the Table or TreeView Table control.
ExeInfo (Function)
Retrieves the specified information about the version of an executable or DLL.
Remote Control: Customizing with your own window
To customize the remote control performed on a multi-user WINDEV application, the standard window can be replaced with a window from your application...
Max (Function)
Returns the greatest value passed as parameter.
ControlInOutReason (Function)
Indicates the origin of the entry in the control.
CriticalSectionStart (Function)
Marks the beginning of a critical section: no other thread will be able to run the code as long as the current thread does not exit from the critical section.
TableMode (Function)
TableMode is kept for backward compatibility.
SAP ASE Native Connector (Sybase): Output value of a stored procedure executed on the server
The SAP ASE Native Connector (also called Sybase Native Connector) allows you to:
  • specify the input values during the call to a stored procedure.
  • retrieve the output values after a call to a stored procedure.
ClipboardHeight (Function)
Calculates the height of an image (in bitmap format) found in the clipboard.
ClipboardWidth (Function)
Calculates the width of an image (in bitmap format) found in the clipboard.
Reintegrating translated text into a project
Once the translation of framework libraries ("...
MySQL Native Connector: Programming with HFSQL functions
To use a MySQL database with the Native Connector (or Native Access), import the structure of MySQL tables into the WINDEV or WEBDEV analysis...
DDE errors
When a DDE function fails (returns False for example), ErrorInfo allows you to find out the number of the corresponding error...
dVerticalSymmetry (Function)
Flips an image with respect to a vertical axis (symmetry with respect to a vertical axis).
MySQL Native Connector: Special features
The Native MySQL Connector (also called "Native MySQL Access") creates "InnoDB" tables to support locks and transactions on a MySQL database...
dHorizontalSymmetry (Function)
Flips an image with respect to a horizontal axis (symmetry with respect to a horizontal axis).
Error messages that can be displayed in the browser
This help page presents the different error messages that can be displayed in the browser...
dSaveImagePNG (Function)
Saves an image:
  • in a PNG file.
  • in memory.
FinFutureVal (Function)
Returns the future value of an investment.
SQL Server Native Connector: Retrieve the output value of a stored procedure
The Native SQL Server Connector is used to:
  • specify the input values during the call to a stored procedure.
  • retrieve the output values after a call to a stored procedure.
SQL Server Native Connector: Execute the same stored procedure more than once
In some cases, it may be useful to execute the same stored procedure multiple times by changing one or more parameters...
ListSelect (Function)
Returns the index of the selected element in a List Box, ListView or Combo Box control.
TableInputSearch (Function)
Enables input in the search area in the column title of the Table or Treeview Table control.
dRotation (Function)
Performs a rotation:
CompleteDir (Function)
Adds a backslash to the end of a string, if necessary.
LoadWDL (Function)
Loads a library of WINDEV objects in memory (.WDL).
TreeSelect (Function)
Returns the full path of the selected element in a TreeView control.
Control constants
List of constants used by control management functions
dResize (Function)
Resizes an image found:
NetworkDisconnect (Function)
Disconnects a network drive.
OpenSister (Example)
Usage example of the OpenSister function
dPolygon (Function)
Draws a polygon:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
dLine (Function)
Draws a line:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
dInvertColor (Function)
Reverses the colors:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
Opening a window from a secondary thread
A secondary thread cannot directly open a window with the standard WLanguage functions such as...
Synchronizing threads via events
Events can be used to synchronize the different threads of an application...
Image drawing and processing functions
List of image drawing and processing functions
TableEnumColumn (Function)
Returns the name of a column found in a Table or Treeview Table control.
Beep (Function)
Emits a beep.
Hasp (Function)
Interrogates an electronic HASP key (HASP-3, HASP-4, MemoHasp or NetHasp).
Window functions
List of functions for managing windows
ExecuteAAF (Function)
Runs an Automatic Application Feature (AAF) on a control or window.
gAlignment (Function)
Builds a sequence of characters containing an aligned text or an aligned image.
Dimension (Function)
Returns the size of a variable (string, numeric, array, ...) or resizes a dynamic array.
ListDelete (Function)
Deletes an element from a List Box, ListView or Combo Box control populated programmatically.
InComponentMode (Function)
Indicates whether the code is run:
  • from a WINDEV application, a WEBDEV website or a PHP page.
  • from a component.
gImage (Function)
Builds a sequence of characters containing an image.
gLink (Function)
Adds an "invisible" value to an element of a List or Combo Box control.
Function kept for compatibility. It is recommended to use gStoredValue.
MDIEnumChild (Function)
Returns the alias of the specified MDI child window.
ExecuteProcess (Function)
Starts the execution of a process programmatically, i.e. without the user having to perform any particular action in the interface.
DDEString (Function)
Returns the information retrieved by DDERetrieve.
Native Oracle Connector for WINDEV and WEBDEV
WINDEV and WEBDEV offer an optional Native Oracle Connector (also called Native Oracle Access...
Oracle Native Connector: Execute the same query more than once
In some cases, it may be useful to run the same query multiple times while modifying one or more parameters...
Various constants
List of various constants.
DDEDisconnect (Function)
Deletes a connection between the current program and a recipient.
1
9