PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • New WLanguage functions
  • Improved WLanguage functions
  • New WLanguage properties
  • Improved WLanguage properties
  • New advanced types of WLanguage
  • Improved advanced WLanguage types
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
In version 28, new functions, properties and data types have been introduced and some have been improved.
New WLanguage functions
WINDEVWindows The new WLanguage functions for WINDEV applications on Windows are:
Germany.CheckIdNrChecks the validity of an IdNr (personal identification number in Germany).
Germany.CheckUStIdNrChecks the validity of a USt-IdNr (company identification number in Germany).
RoundToMultipleReturns a numeric value rounded to the nearest multiple of another numeric value.
Belgium.CheckCBEChecks the validity of a CBE number (identifier from the Crossroads Bank for Belgian Enterprises).
Belgium.CheckNISSChecks the validity of a NISS number (Belgian social security identification number).
Belgium.CheckEUChecks the validity of a EU number (Belgian Establishment Unit number used to identify companies).
BitcoinValidAddressChecks whether a Bitcoin wallet address is valid.
Brazil.CheckCNPJChecks the validity of a CNPJ number (company identification number in Brazil).
Brazil.CheckCPFChecks the validity of a CPF number (personal identification number in Brazil).
Canada.CheckSINChecks the validity of a Canadian Social Insurance Number (SIN).
Canada.CheckBN9Checks the validity of a Canadian 9-digit Business Number (BN9).
Canada.CheckBN15Checks the validity of a Canadian 15-digit Business Number (BN15).
DiagramSearchSearches for shapes containing a specific text in a diagram.
dModifyContrastChanges the contrast of an image contained:
  • in an Image control,
  • in an Image variable.
DocFindElementByNameSearches for an element by its name in a Word Processing document.
dStraightenTransforms an image by applying perspective correction.
dTextMarkdownDraws Markdown text:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable].
EnModePageDansFenêtreIndicates whether the page is displayed in a window control Page WEBDEV.
Spain.CheckDNIChecks the validity of a DNI number (personal identification number in Spain).
Spain.CheckNIFChecks the validity of a NIF number (company identification number in Spain).
UnitedStates.CheckEINChecks the validity of a U.S. Employer Identification Number.
UnitedStates.CheckFEIChecks the validity of a U.S. Firm Establishment Identifier.
UnitedStates.CheckSSNChecks the validity of a U.S. Social Security Number.
ExecuteFunctionExecutes a WLanguage function identified by its name.
France.CheckINSEETests the validity of an INSEE number (identification number of physical persons assigned by the National Institute of Statistics and Economic Studies - Institut National de la Statistique et des Etudes Economiques).
France.CheckSIRENChecks the validity of a French SIREN number (Système d'Identification du Répertoire des Entreprises).
France.CheckSIRETChecks the validity of a French SIRET number (Système d'Identification du Répertoire des Etablissements).
fBuildRelativePathReturns the path to a file relative to a reference directory.
fMIMETypeReturns the type of file according to the MIME standard (Multipurpose Internet Mail Extensions).
GenerateGeometricImageRandomly generates an image with geometric shapes. This image can be used to temporarily fill an Image control, for example.
HDropViewRemoves a materialized view from the HFSQL server.
HTMLToPDFConverts an HTML string or buffer to a buffer containing a PDF document.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
iPrintAreaMarkdownPrints Markdown text in a rectangular area.
iPrintingNationModifies the current language for the next print (programmed print or report print).
Italy.CheckCFChecks the validity of a CF number (personal identification number in Italy).
Italy.CheckIVAChecks the validity of an IVA number (company identification number in Italy).
MarkdownToDOCXConvertit une chaîne de caractères au format Markdown vers un document au format docx.
MarkdownToHTMLConverts a string in Markdown format into a buffer in HTML format (encoded in UTF8).
MarkdownToPDFConverts a string (or buffer) in Markdown format into a buffer containing an Document PDF.
MarkdownToTextConverts a Markdown string to text (without tags).
OpenAPIToHTTPBuilds the HTTP request to call a function of an API. It can then be sent using HTTPSend.
PicRectangularSnipCaptures a rectangular area defined with the cursor and retrieves the image in a variable of type Image.
PicRectangularSnipOCRRuns OCR and extracts the text from a rectangular area defined with the mouse.
EmulateDnDEmulates a "Drag & Drop" gesture in automated tests.
CapitalizeEachWordCapitalizes the first letter of all words in a string.
SocketConfigureConfigures the use of Socket functions.
SocketProxySpécifie si les sockets TCP et les WebSockets doivent ou non passer par un proxy SOCKS5 pour exécuter leurs requêtes.
Switzerland.CheckUIDChecks the validity of a UID number (Swiss business identification number).
Switzerland.CheckOASIChecks the validity of a Swiss Old-​Age and Survivors' Insurance Number (OASI).
Switzerland.CheckBERChecks the validity of a BER number (company identifier in the Swiss Business and Enterprise Register).
UTFConvertConverts a string or buffer to the specified format: UTF, ANSI, Unicode.
The new WLanguage functions (prefixed syntax) for WINDEV applications for Windows are the following:
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
<Element>.RequestRefreshUIRequests the execution of the "Request for refreshing the display" event of the specified element (and gives back control without waiting for the execution of the event).
<Image>.ModifyContrastChanges the contrast of an image contained in an Image control.
<Image variable>.ModifyContrastModifies the contrast of an image in an Image variable.
<Word Processing>.FindElementByNameSearches for an element by its name in a Word Processing document.
<Document>.FindElementByNameSearches for an element by its name in a Word Processing document.
<Image>.DessineTexteMarkdownDraws a text in Markdown format in an Image control.
<Variable Image>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type Image.
<Variable picLayer>.DessineTexteMarkdownDraws a text in Markdown format in a variable of type picLayer.
<Variable WDPic>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type WDPic.
<Element>.ExecuteRefreshUIImmediately executes the "Request for refreshing the display" event of the given element.
<DiskFile variable>.LockEntirely or partially locks an external file.
<DiskFile variable>.ChangeSizeResizes an external file.
<DiskFile variable>.FindFinds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.UnlockEntirely or partially unlocks an external file.
<DiskFile variable>.WriteLineWrites a line into a text file (ANSI or UNICODE).
<DiskFile variable>.WriteWrites:
  • a character string into an external file.
  • a memory section.
<DiskFile variable>.CloseCloses an external file.
<DiskFile variable>.ReadLineRegularExpressionReads a line in an external file, gets sections of this line according to a regular expression and assigns them to a variable.
<DiskFile variable>.ReadLineReads a line from an external file (ANSI or UNICODE).
<DiskFile variable>.ReadReads:
  • 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.
<DiskFile variable>.FileNameReturns the name of an external file currently open.
<DiskFile variable>.SeekGets and sets current position in an external file.
<DiskFile variable>.SizeReturns the size of a file (in bytes).
<pdfDocument variable>.SaveSaves the content of a pdfDocument variable in a ".PDF" file.
WINDEVLinux The new WLanguage functions for WINDEV applications for Linux are:
Germany.CheckIdNrChecks the validity of an IdNr (personal identification number in Germany).
Germany.CheckUStIdNrChecks the validity of a USt-IdNr (company identification number in Germany).
RoundToMultipleReturns a numeric value rounded to the nearest multiple of another numeric value.
Belgium.CheckCBEChecks the validity of a CBE number (identifier from the Crossroads Bank for Belgian Enterprises).
Belgium.CheckNISSChecks the validity of a NISS number (Belgian social security identification number).
Belgium.CheckEUChecks the validity of a EU number (Belgian Establishment Unit number used to identify companies).
BitcoinValidAddressChecks whether a Bitcoin wallet address is valid.
Brazil.CheckCNPJChecks the validity of a CNPJ number (company identification number in Brazil).
Brazil.CheckCPFChecks the validity of a CPF number (personal identification number in Brazil).
Canada.CheckSINChecks the validity of a Canadian Social Insurance Number (SIN).
Canada.CheckBN9Checks the validity of a Canadian 9-digit Business Number (BN9).
Canada.CheckBN15Checks the validity of a Canadian 15-digit Business Number (BN15).
DiagramSearchSearches for shapes containing a specific text in a diagram.
dModifyContrastChanges the contrast of an image contained:
  • in an Image control,
  • in an Image variable.
dStraightenTransforms an image by applying perspective correction.
dTextMarkdownDraws Markdown text:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable].
EnModePageDansFenêtreIndicates whether the page is displayed in a window control Page WEBDEV.
Spain.CheckDNIChecks the validity of a DNI number (personal identification number in Spain).
Spain.CheckNIFChecks the validity of a NIF number (company identification number in Spain).
UnitedStates.CheckEINChecks the validity of a U.S. Employer Identification Number.
UnitedStates.CheckFEIChecks the validity of a U.S. Firm Establishment Identifier.
UnitedStates.CheckSSNChecks the validity of a U.S. Social Security Number.
ExecutePresetActionRuns a preset WINDEV action.
ExecuteFunctionExecutes a WLanguage function identified by its name.
France.CheckINSEETests the validity of an INSEE number (identification number of physical persons assigned by the National Institute of Statistics and Economic Studies - Institut National de la Statistique et des Etudes Economiques).
France.CheckSIRENChecks the validity of a French SIREN number (Système d'Identification du Répertoire des Entreprises).
France.CheckSIRETChecks the validity of a French SIRET number (Système d'Identification du Répertoire des Etablissements).
fBuildRelativePathReturns the path to a file relative to a reference directory.
FTPProxySpecifies whether the communication functions that use the FTP protocol must go through a proxy to run their requests.
fMIMETypeReturns the type of file according to the MIME standard (Multipurpose Internet Mail Extensions).
GenerateGeometricImageRandomly generates an image with geometric shapes. This image can be used to temporarily fill an Image control, for example.
HDropViewRemoves a materialized view from the HFSQL server.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
iPrintAreaMarkdownPrints Markdown text in a rectangular area.
iPrintingNationModifies the current language for the next print (programmed print or report print).
Italy.CheckCFChecks the validity of a CF number (personal identification number in Italy).
Italy.CheckIVAChecks the validity of an IVA number (company identification number in Italy).
MarkdownToDOCXConvertit une chaîne de caractères au format Markdown vers un document au format docx.
MarkdownToHTMLConverts a string in Markdown format into a buffer in HTML format (encoded in UTF8).
MarkdownToPDFConverts a string (or buffer) in Markdown format into a buffer containing an Document PDF.
MarkdownToTextConverts a Markdown string to text (without tags).
OpenAPIToHTTPBuilds the HTTP request to call a function of an API. It can then be sent using HTTPSend.
CapitalizeEachWordCapitalizes the first letter of all words in a string.
SocketProxySpécifie si les sockets TCP et les WebSockets doivent ou non passer par un proxy SOCKS5 pour exécuter leurs requêtes.
Switzerland.CheckUIDChecks the validity of a UID number (Swiss business identification number).
Switzerland.CheckOASIChecks the validity of a Swiss Old-​Age and Survivors' Insurance Number (OASI).
Switzerland.CheckBERChecks the validity of a BER number (company identifier in the Swiss Business and Enterprise Register).
UTFConvertConverts a string or buffer to the specified format: UTF, ANSI, Unicode.
The new WLanguage functions (prefixed syntax) for WINDEV applications for Linux are the following:
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
<Element>.RequestRefreshUIRequests the execution of the "Request for refreshing the display" event of the specified element (and gives back control without waiting for the execution of the event).
<Image>.ModifyContrastChanges the contrast of an image contained in an Image control.
<Image variable>.ModifyContrastModifies the contrast of an image in an Image variable.
<Image>.DessineTexteMarkdownDraws a text in Markdown format in an Image control.
<Variable Image>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type Image.
<Variable picLayer>.DessineTexteMarkdownDraws a text in Markdown format in a variable of type picLayer.
<Variable WDPic>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type WDPic.
<Element>.ExecuteRefreshUIImmediately executes the "Request for refreshing the display" event of the given element.
<DiskFile variable>.LockEntirely or partially locks an external file.
<DiskFile variable>.ChangeSizeResizes an external file.
<DiskFile variable>.FindFinds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.UnlockEntirely or partially unlocks an external file.
<DiskFile variable>.WriteLineWrites a line into a text file (ANSI or UNICODE).
<DiskFile variable>.WriteWrites:
  • a character string into an external file.
  • a memory section.
<DiskFile variable>.CloseCloses an external file.
<DiskFile variable>.ReadLineReads a line from an external file (ANSI or UNICODE).
<DiskFile variable>.ReadReads:
  • 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.
<DiskFile variable>.FileNameReturns the name of an external file currently open.
<DiskFile variable>.SeekGets and sets current position in an external file.
<DiskFile variable>.SizeReturns the size of a file (in bytes).
<pdfDocument variable>.SaveSaves the content of a pdfDocument variable in a ".PDF" file.
WINDEVJava The new WLanguage functions for WINDEV applications on Java are:
RoundToMultipleReturns a numeric value rounded to the nearest multiple of another numeric value.
DelayBeforeClosingLimits 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.
ErrorWithTimeoutDisplays a custom error message in a system error window for a set amount of time.
ExecuteFunctionExecutes a WLanguage function identified by its name.
InfoWithTimeoutDisplays an information message in a system information window for a set amount of time
CapitalizeEachWordCapitalizes the first letter of all words in a string.
TableDeleteSelectDeletes the selected rows from a Table or Treeview Table control.
ThreadStopRequestedChecks if a stop request has been sent to the running thread.
ThreadRequestStopSends a stop request to a thread.
LooperDeleteSelectDeletes the selected rows from a Looper control.
The new WLanguage functions (prefix syntax) for WINDEV applications for Java are:
<Chrono>.StartStarts a stopwatch to measure the duration of a process (in milliseconds) and resets a running stopwatch.
<Chrono>.EndStops a stopwatch and returns the time elapsed (in milliseconds) since the start of timing (call to <Chrono>.Start).
<Chrono>.PausePauses a stopwatch in order to measure the time spent on a process.
<Chrono>.ResetStops and resets a running stopwatch.
<Chrono>.ResumeResumes a stopwatch previously stopped by <Chrono>.Fin or <Chrono>.Pause.
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
<DiskFile variable>.ChangeSizeResizes an external file.
<DiskFile variable>.FindFinds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.WriteLineWrites a line into a text file (ANSI or UNICODE).
<DiskFile variable>.WriteWrites:
  • a character string into an external file.
  • a memory section.
<DiskFile variable>.CloseCloses an external file.
<DiskFile variable>.ReadLineReads a line from an external file (ANSI or UNICODE).
<DiskFile variable>.ReadReads:
  • 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.
<DiskFile variable>.FileNameReturns the name of an external file currently open.
<DiskFile variable>.SeekGets and sets current position in an external file.
<DiskFile variable>.SizeReturns the size of a file (in bytes).
<Table>.DeleteSelectDeletes the selected rows from a Table or Treeview Table control.
<Thread>.RequestStopSends a stop request to a thread.
<Looper>.DeleteSelectDeletes the selected rows from a Looper control.
Improved WLanguage functions
WINDEVWindowsLinux The following functions have been modified in this version:
AssistedInputAddAdd a parameter to associate a stored value to the added row.
CertificateCheckStringThe Certificate can now correspond to an Variable of type Buffer.
CertificateSignStringThe Certificate can now correspond to an Variable of type Buffer.
DecryptAsymmetricThe public key can now correspond to an Variable of type Buffer.
DecryptAsymmetricEnvelopedThe public key can now correspond to an Variable of type Buffer.
EncryptAsymmetricThe public key can now correspond to an Variable of type Buffer.
EncryptAsymmetricEnvelopedThe public key can now correspond to an Variable of type Buffer.
ExplorerAcceptNew syntax to retrieve in an Procedure WLanguage the number of dropped files and their names.
HDescribeServerTriggerNew syntax to create a trigger from the description made in the analysis.
HListKeyPrimary keys are now taken into account.
HSuggèreKeyNew parameter to set the format of the result.
HTrackNew parameter to set the execution mode of the Procedure WLanguage.
iAreaHeightNew constant to manage text in Markdown format.
SaaSadminListeServiceAdd a parameter to remove or not the duplicates in the result.
SaaSadminListeServiceAdd a parameter to remove or not the duplicates in the result.
SaaSadminListeServiceAdd a parameter to remove or not the duplicates in the result.
TwoFactorAuthenticationCheckCodeThe code can now correspond to a string.
Java The following functions have been modified in this version:
ChronoEndThe syntax handling the Chrono type is now available.
ChronoPauseThe syntax handling the Chrono type is now available.
ChronoResetThe syntax handling the Chrono type is now available.
ChronoResumeThe syntax handling the Chrono type is now available.
ChronoStartThe syntax handling the Chrono type is now available.
ChronoValueThe syntax handling the Chrono type is now available.
dRotationThe "Options" setting is now available.
fCreateIt is now possible to manage files in ANSI and/or UNICODE format.
fLoadTextIt is now possible to manage files in ANSI and/or UNICODE format.
fOpenIt is now possible to manage files in ANSI and/or UNICODE format.
fOpenTempFileIt is now possible to manage files in ANSI and/or UNICODE format.
fReadLineIt is now possible to specify the line separator.
HDescribeServerTriggerNew syntax to create a trigger from the description made in the analysis.
HListKeyPrimary keys are now taken into account.
HTrackNew parameter to set the execution mode of the Procedure WLanguage.
NoSpaceIt is now possible to set the position of the spaces to be deleted.
New WLanguage properties
WINDEVWindows The new WLanguage properties are as follows:
ExtraThe Property Extra allows to:
  • Know the additional information associated with a control , a window, or a Page.
  • Edit additional information associated with an control, a window or an Page.
IgnoreErrorPermet de spécifier les erreurs ignorées par le champ html
Linux The new WLanguage properties are as follows:
ExtraThe Property Extra allows to:
  • Know the additional information associated with a control , a window, or a Page.
  • Edit additional information associated with an control, a window or an Page.
IgnoreErrorPermet de spécifier les erreurs ignorées par le champ html
Improved WLanguage properties
WINDEVWindows The following WLanguage properties have been improved:
FontNameThis Property is now available for the control HTML Editor.
FontSizeThis Property is now available for the control HTML Editor.
ImageStatePossibility to know and modify the number of drawings present in the Image associated with a menu option.
KeyTypeNew constant to manage primary keys.
Java The following WLanguage properties have been improved:
KeyTypeNew constant to manage primary keys.
New advanced types of WLanguage
WINDEVWindows The new WLanguage types for WINDEV applications are as follows:
diagActionAllowedThe diagActionAuthorized type is used to define the actions available to end users on a diagram shape in the Diagram Editor control.
DiskFileThe DiskFile type is used to handle text files present on disk.
SaisieAssistéeReprésente la valeur d’une ligne dans la saisie assistée
xlsLayoutThe xlsLayout type is used to define all the layout characteristics of a sheet of an XLSX document in a Spreadsheet control.
WINDEVLinux The new WLanguage types for WINDEV applications in Linux are as follows:
diagActionAllowedThe diagActionAuthorized type is used to define the actions available to end users on a diagram shape in the Diagram Editor control.
DiskFileThe DiskFile type is used to handle text files present on disk.
SaisieAssistéeReprésente la valeur d’une ligne dans la saisie assistée
xlsLayoutThe xlsLayout type is used to define all the layout characteristics of a sheet of an XLSX document in a Spreadsheet control.
Improved advanced WLanguage types
WINDEVWindowsLinux The following advanced types have been improved for WINDEV applications:
TokenNew Property StoredValue allowing to store a value associated with Token.
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment