ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

Declaring and using a variable
A variable is defined by name and type...
Advanced types
The advanced types of WLanguage are as follows
WLanguage types
The different types in WLanguage are...
ErrorOccurred (Variable)
ErrorOccurred is a preset variable of WLanguage indicating the result of the last WLanguage function used.
DataType (Function)
Identifying the type of a WLanguage variable.
WayPoint (Property)
The WayPoint property allows you to handle the waypoints of a connector.
Native SQL Server Connector for WINDEV and WEBDEV
WINDEV and WEBDEV offer an optional Native SQL Server Connector (also called Native SQL Server Access)...
Compile (Function)
Dynamically compile a Procedure whose source code is supplied (dynamic compilation).
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...
SQL Server Native Connector: Programming with HFSQL functions
To use an SQL Server database with Native Connector, the structure of SQL Server tables must be imported into the data model analysis...
SQL Server Native Connector: Programming using SQL functions
To use an SQL Server database with the Native Connector (or "Native Access"), you can use SQL functions...
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.
Native Oracle Connector for WINDEV and WEBDEV
WINDEV and WEBDEV offer an optional Native Oracle Connector (also called Native Oracle Access...
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...
Using WDDIXIO
To translate the text used in your project:
Native Informix Connector: Requirements and remarks
Remarks and specific features of Native Informix Connector
Native Progress Connector for WINDEV and WEBDEV
WINDEV and WEBDEV offer an optional Native Connector to Progress ...
Configuring the connection with WDSQSINS
For compatibility with previous versions of the SQL Server Native Connector (also known as SQL Server Native Access), it is still possible to configure the connection in the WDSQSINS software (delivered with the SQL Server Native Connector)...
GenerateGeometricImage (Function)
Randomly generates an image with geometric shapes. This image can be used to temporarily fill an Image control, for example.
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.
SAP ASE Native Connector (Sybase): Run the same stored procedure multiple times
In some cases, it may be useful to execute the same stored procedure multiple times by changing one or more parameters...
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.
AutomationEvent (Function)
Branches a procedure to the event of an automation object.
Various functions
List of various functions found in WINDEV, WINDEV Mobile and WEBDEV.
SelectColor (Function)
Opens the standard window for color selection and selects the specified color.
Translating a text file with WDTRAD
dClear (Function)
Clears the content of an Image variable or Image control and fills it with the specified color.
VariantConvert (Function)
Converts the value stored in a Variant variable.
ExplorerRetrieve (Function)
Retrieves the number and the name of the files "dropped" from the explorer.
DnDGetData (Function)
Retrieves a specific type of data during Drag/Drop.
DnDEvent (Function)
Indicates the procedure to run during an event of Drag/Drop.
DnDIsDataAvailable (Function)
Checks whether a specific type of data is available during Drag/Drop.
ExceptionInfo (Function)
Retrieves information about the current exception.
TableDelete (Function)
Deletes a row from:
  • a Table control,
  • a TreeView Table control,
  • a table displayed in a Combo Box control.
ExeRun (Function)
Executes a program (an executable file, for example) from the current application.
Sound (Function)
Plays a sound in WAV format.
Thread management constants
Constants used by functions that handle threads, critical sections, semaphores, mutexes, etc.
Replace (Function)
Replaces all occurrences of a specified substring in a string with another specified substring.
MDIOpen (Function)
Opens and enables an MDI child window.
OpenSibling (Function)
Opens a non-modal sibling window.
OpenSister (Example)
Usage example of the OpenSister function
OpenChild (Function)
Opens a non-modal child window.
Open (Function)
Opens a modal WINDEV window.
NumToString (Function)
Converts a numeric value (integer, real or currency) to a string according to a specified format.
MDIEnumChild (Function)
Returns the alias of the specified MDI child window.
TableEnumColumn (Function)
Returns the name of a column found in a Table or Treeview Table control.
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.
Decrypt (Function)
Decrypts a string that was encrypted by Encrypt.
Decrypt (Example)
Decrypt example
ExeTerminate (Function)
Terminates execution of an application (32-bit or 64-bit) on the current seat: all instances of the executable are "killed".
Encrypt (Function)
Encrypts a string in binary format or in ASCII format.
Encrypt (Example)
Encrypt example
TableSearch (Function)
Performs a search in:
  • a Table control,
  • a TreeView Table control,
  • tables displayed in a Combo Box control.
InitWindow (Function)
Initializes (or not) the controls to zero and runs the initialization processes of the controls and the window.
WindowBitmap (Function)
Creates the image of the specified window in a BMP file.
ChronoStart (Function)
Starts a stopwatch to measure the duration of a process (in milliseconds) and resets a running stopwatch.
ChronoEnd (Function)
Stops a stopwatch and returns the time elapsed (in milliseconds) since the start of timing (call to ChronoStart).
Close (Function)
Closes a WINDEV window (and returns a value if necessary).
ArraySort (Function)
Sorts a WLanguage array.
MemCreate (Function)
Creates a memory area.
ArrayDeleteAll (Function)
Deletes all elements:
  • from a one-dimensional or two-dimensional WLanguage array.
  • from an associative array.
  • from an advanced array property (array of gglCalendar events, etc.).
  • from a WLanguage queue.
  • from a WLanguage stack.
  • from a WLanguage list.
ArrayDelete (Function)
Deletes an element at a given position:
  • from a one-dimensional WLanguage array.
  • from an advanced array property (array of gglCalendar events, etc.).
  • from an associative array.
  • from a WLanguage list.
TreeID (Function)
Used to build the path of the elements found in a TreeView control by differentiating the duplicates.
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.
ArrayInfo (Function)
Returns the details of an array: type of elements, number of dimensions, etc.
WinIconBarHeight (Function)
Returns or modifies the current height of the "Icon Bar" area in the current MDI parent window.
Length (Function)
Returns:
  • the length of a string, i.e., the number of characters in the string (including spaces and binary zeros).
  • the size of a buffer, i.e., the number of bytes in the buffer.
ArrayCopy (Function)
Copies the content of an array to another array.
ArraySeek (Function)
Searches for the index of an element in a WLanguage array.
Synchronizing threads via events
Events can be used to synchronize the different threads of an application...
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).
WinStatus (Function)
Gets or sets the window state.
Now (Function)
Returns or modifies the system time (current time defined for the current computer).
TimeToInteger (Function)
Converts a time to an integer.
TimeToString (Function)
Converts a time to a string in the specified format.
TimeValid (Function)
Checks the time validity.
DelayBeforeClosing (Function)
Limits the display duration of a window or dialog box.  If no user action is performed, when the specified amount of time is reached:
  • for a window, the code of a window button will be run. 
  • for a dialog box, the dialog box is automatically closed.
TimeDifference (Function)
Calculates the difference between two times in hundredths of a second.
FinNetCurrentVal (Function)
Returns the net current value of investment.
DurationToString (Function)
Converts a duration to a character string in the specified format.
DateToWeekNumber (Function)
Returns the week number within the year that corresponds to the specified date.
FinRepayVal (Example)
Usage example of the FinRepayVal function
DateToMonthInAlpha (Function)
Returns the name of the month that corresponds to a specified date.
Abs (Function)
Returns the absolute value:
  • of a numeric value,
  • of a numeric expression (integer or real).
  • of a duration.
DateToDayInAlpha (Function)
Returns the name of the day corresponding to a specified date.
DateToDay (Function)
Returns the day corresponding to a given date.
DateToInteger (Function)
Converts a date to an integer.
DateToString (Function)
Converts:
  • a date to a string in the specified format.
  • a date time to a string in the specified format.
DateValid (Function)
Checks the validity of a date between January 01 0001 and December 31 9999.
DateSys (Function)
Returns or modifies the system date (current date defined on the current computer).
DateTimeByDefault (Function)
Used to define the default value of Date, Time and DateTime variables.
DateTimeDifference (Function)
Calculates the difference between two dates and times.
StringToDuration (Function)
Converts a duration in character string format to a duration that can be used by a Duration variable.
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.
Max (Function)
Returns the greatest value passed as parameter.
CriticalSectionEnd (Function)
Marks the end of a critical section: another thread will be able to run the code.
Min (Function)
Returns the lowest value.
EventWait (Function)
Locks the current thread while waiting for the specified event to be opened.
Val (Function)
Returns the numeric value of a character string.
OKCancel (Function)
Displays a message in a standard dialog box that proposes "OK" and "Cancel" and returns the user's choice.
SemaphoreStart (Function)
Locks the current thread until the semaphore is opened (which means until a "free" spot becomes available in the protected section).
ThreadStop (Function)
Stops a secondary thread. Function not recommended.
ThreadWait (Function)
Waits for the end of the execution of the specified thread.
ThreadWaitSignal (Function)
Locks the current thread until it receives a signal from another thread.
ThreadSendSignal (Function)
The current thread sends a signal to the specified thread in order to unlock it.
ThreadExecute (Function)
Starts the execution of a secondary thread.
MatReadColumn (Example)
Usage example of the MatReadColumn function
LoadProcedure (Function)
LoadProcedure is kept for backward compatibility.
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.
VideoCapture (Function)
Captures the images received from the camera:
  • as an image: take a photo.
  • as a video: record a video.
AndroidiPhone/iPad Function kept for "Version-26-compatible" Camera controls.
RTFSelection (Function)
Modifies or lists the attributes of the text currently selected in an RTF field (in a WINDEV window or report).
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.
ListAdd (Function)
Adds an element to a List Box, ListView or Combo Box control populated programmatically.
BitmapInfo (Function)
Retrieves the characteristics of an image file or the characteristics of a PDF file:
  • format.
  • width and height.
  • number of bits per pixel.
  • area of transparency.
  • alpha channel.
EnumControl (Function)
Returns the name of Nth control found in the specified element.
FontSelect (Function)
Opens the standard Windows font selection window by selecting the specified font.
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...
FontCreate (Function)
Creates a font definition.
ControlExist (Function)
Checks for a control (or group of controls) in a window, page or report.
ControlClone (Function)
Creates a new control from an existing control.
DnDAccept (Function)
Indicates the action accepted by the target of Drag/Drop and manages the mouse cursor during Drag/Drop.
Clipboard (Function)
Retrieves the text or image found in the system clipboard.
DnDCursor (Function)
Manages the mouse cursor and specifies the action allowed during Drag and Drop.
DnDCacheData (Function)
Indicates the type of data and the data to copy/move during Drag/Drop.
ToClipboard (Function)
Writes text or image information into the system clipboard.
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.
dVerticalSymmetry (Function)
Flips an image with respect to a vertical axis (symmetry with respect to a vertical axis).
ExeListDLL (Function)
Returns the list of libraries (".DLL" files) used by one of the applications currently run.
dHorizontalSymmetry (Function)
Flips an image with respect to a horizontal axis (symmetry with respect to a horizontal axis).
ExeListProcess (Function)
Returns the list of applications currently run.
dPen (Function)
Declares the default color and style for lines, rectangles, circles, etc. contained in:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
RegistryCreateKey (Function)
Creates a key in the Windows registry.
Miscellaneous Windows functions
List of miscellaneous Windows functions
dSaveImagePNG (Function)
Saves an image:
  • in a PNG file.
  • in memory.
RegistrySetValue (Function)
Writes a value to a key in the Windows registry.
dSaveImageJPEG (Function)
Saves an image:
  • in a JPEG file.
  • in memory.
eChangeCurrency (Function)
Converts a currency into another currency.
dSaveImageGIF (Function)
Saves an image:
  • in a file in GIF format.
  • in memory.
dSaveImageBMP (Function)
Saves an image:
  • in a file in BMP format.
  • in memory.
String functions
List of functions for managing character strings
dRotation (Function)
Performs a rotation:
dFill (Function)
Colors an area:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
dResize (Function)
Resizes an image found:
dRectangle (Function)
Draws a rectangle:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
NetworkDisconnect (Function)
Disconnects a network drive.
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.
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.
dFont (Function)
Declares the font to be used by the dText function:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
dPoint (Function)
Draws a point:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
dPixelColor (Function)
Identifies the color of a pixel found:
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.
dBackground (Function)
Declares the default background color for the rectangles, circles, etc::
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
IsNumeric (Function)
Enables you to find out whether a variable or a control is:
  • a numeric (integer, real, currency or numeric).
  • a string that can be converted into numeric.
dEndDrawing (Function)
Deletes all the drawings made since the last call to dStartDrawing.
Date and Time functions
List of functions for managing dates and times
dStartDrawing (Function)
Indicates that the drawing functions that will be used are intended for:
  • the specified Image control,
  • the specified Image variable,
  • the specified Image variable,
  • the specified WDPic variable (on the background layer),
  • the specified picLayer variable.
Image drawing and processing functions
List of image drawing and processing functions
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.
dCopyImage (Function)
Copies an image:
  • from an Image control to another Image control.
  • from an Image variable to another Image variable.
dChangeMode (Function)
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....).
Functions for handling directories and external files
List of functions for handling external files
dCircle (Function)
Draws a circle or an ellipse:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
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.
Dimension (Function)
Returns the size of a variable (string, numeric, array, ...) or resizes a dynamic array.
InitParameter (Function)
Initializes the management of persistent values.
gImage (Function)
Builds a sequence of characters containing an image.
Font functions
List of functions for managing fonts
ExecuteProcess (Function)
Starts the execution of a process programmatically, i.e. without the user having to perform any particular action in the interface.
DDESend (Function)
Sends a data to the program connected via DDE.
fSize (Function)
Returns the size of a file (in bytes).
DDEEvent (Function)
Associates a WLanguage procedure with a DDE event: when the DDE event occurs, the associated WLanguage procedure is automatically launched.
DDEExecute (Function)
Sends a command that will be run on the server.
Table control functions
List of functions specific to Table controls
DDEUnLink (Function)
Interrupts a link between an item and a data.
SIPVisible (Function)
Displays the keyboard.
NumHelp (Function)
Returns the number of the help context associated with the specified control.
Array functions
List of functions for managing arrays
fStopCompress (Function)
Stops the operation used to compress or decompress a file.
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, ...).
Thread functions
List of functions for managing threads
DDELink (Function)
Creates a hot link with a data.
DDEWarmLink (Function)
Creates a warm link with a data.
Unicode in character strings
The Unicode format is an encoding system that assigns a unique number to each character.
DDERetrieve (Function)
Retrieves a data sent by a program (the recipient of the connection for the specified object).
TypeVar (Function)
Identifies the type of an expression, a variable (during a call to a procedure for example) or a control.
Managing dates and times
WINDEV, WEBDEV and WINDEV Mobile propose several methods for managing dates and times in your applications...
Drawing in WINDEV, WEBDEV and WINDEV Mobile
WINDEV, WEBDEV and WINDEV Mobile include several functions for displaying, drawing, copying and saving the drawings and images from your applications or sites...
Constants for managing windows
List of constants used by the functions for managing windows
Execute (Function)
Starts the execution of a process programmatically.
fSeek (Function)
Gets and sets current position in an external file.
API (Function)
Runs a function found in an external DLL.
fOpen (Function)
Opens an external file (ANSI or UNICODE) for programmatic manipulation.
CallDLL32 (Function)
Runs a function found in an external DLL.
fReadLine (Function)
Reads a line from an external file (ANSI or Unicode).
fReadLine (Example)
Usage example of the fReadLine function
fRead (Function)
Reads:
  • a block of bytes (characters) in an external file (ANSI or Unicode),
  • the content of an external file (ANSI or Unicode) and assigns it to a memory area.
Instance (Function)
Returns the "system handle" (HINSTANCE) of the current program.
Ping (Function)
Checks whether a network address can be reached by using the ICMP protocol (similar to the PING network utility).
1
9