ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WEBDEV 2025 feature!
This content has been translated automatically.  Click here  to view the French version.
Help / New features / New features in version 2025
  • Overview
  • New WLanguage functions
  • Improved WLanguage functions
  • New WLanguage properties
  • Improved WLanguage properties
  • New advanced types of WLanguage
  • Improved advanced WLanguage types
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
Version 2025 includes new and improved functions, properties and data types.
New WLanguage functions
WEBDEV - Server codeWindows New WLanguage functions in Server code:
AuthIntrospecteTokenIntrospect an Oauth token.
AuthLogoutLogs out a user previously authenticated via:
  • the OAuth 2.0 protocol on any web service.
  • the OpenID protocol on any web service.
  • a JSON Web Token (JWT).
AuthRecoverUserInfoRetrieves user information from an access token.
AuthRevokeTokenRevokes a JSON Web Token (JWT).
AuthVérifieAuthentificationChecks the validity of the current user's token in the case of SSO authentication.
CertificateExportExports a certificate from a certificate store to a "pfx" or "cert" file.
CertificatePEMToPFXConverts a certificate in PEM format to a PFX file including the private key.
DayInYearToDateReturns the date (in "YYYYMMDD" format) corresponding to a day number in the year.
DocClearFormattingReplaces the current formatting of a selection with the default formatting.
DocToHTMLConverts a Word Processing document into an HTML file.
FileDownloadStarts file download by browser.
FileViewOpens a file in the browser.
grCategoryTagInitialize a category image with an image (thumbnail) in Sector, Doughnut or Hemicycle type charts.
grPIImageDefines the image used to illustrate data in a "Percentage imaged" graph.
grPIVMaximumValueAllows you to specify the maximum graph value for automatic calculation of percentages in a "Percentage imaged" graph.
HImportCSVImports a CSV 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).
HListHistoryPlanningLists the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view).
HRplAddFileAdds a file to a universal replication.
HS DeleteAllHistoryPlanningPurge the entire execution history of scheduled elements on an HFSQL server.
HSuppressHistoryPlanningDeletes the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view.).
iInitReportVersoInitializes the parameters of a report to be printed on the verso side of another report.
OrganizerBackgroundColorDefines a background color for a time slot in an Organizer control.
PDFExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
SchedulerBackgroundColorSets a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.).
WebserviceLitTokenUserRetrieves the access token received by the web service currently running.
New WLanguage functions in Server code (prefix syntax):
<AuthToken>.LogoutUser logout.
<AuthToken>.RevokeRevokes a JSON Web Token (JWT).
<docFragment variable>.ClearFormattingReplaces the current formatting of a selection with the default formatting.
<Document variable>.ToHTMLConverts a Document variable into an HTML file.
<Graphe>.PIImageDefines the image used to illustrate data in a "Percentage imaged" graph.
<Graphe>PIVMaximumValueAllows you to specify the maximum graph value for automatic calculation of percentages in a "Percentage imaged" graph.
<Graphe>VignetteCategoryInitialize a category image with an image (thumbnail) in Sector, Doughnut or Hemicycle type charts.
<Organizer>.BackgroundColorDefines a background color for a time slot in an Organizer control.
<pdfDocument variable>.ExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
<Report>.InitReportVersoInitializes the parameters of a report to be printed on the verso side of another report.
<Scheduler>.BackgroundColorSets a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.).
<Source>.ImportCSVImports a CSV 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).
<Variable Connexion>DeletePlanningHistoryDeletes the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view.).
<Variable Connexion>ListHistoryPlanningLists the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view).
<Word Processing>.ClearFormattingReplaces the current formatting of a selection in a Word Processing control with the default formatting.
<Word Processing>.ToHTMLConverts the content of a Word Processing control into an HTML file.
WEBDEV - Server codeLinux New WLanguage functions for WEBDEV in Linux:
AuthIntrospecteTokenIntrospect an Oauth token.
AuthLogoutLogs out a user previously authenticated via:
  • the OAuth 2.0 protocol on any web service.
  • the OpenID protocol on any web service.
  • a JSON Web Token (JWT).
AuthRecoverUserInfoRetrieves user information from an access token.
AuthRevokeTokenRevokes a JSON Web Token (JWT).
DayInYearToDateReturns the date (in "YYYYMMDD" format) corresponding to a day number in the year.
DocClearFormattingReplaces the current formatting of a selection with the default formatting.
DocToHTMLConverts a Word Processing document into an HTML file.
FileDownloadStarts file download by browser.
FileViewOpens a file in the browser.
grPIImageDefines the image used to illustrate data in a "Percentage imaged" graph.
grPIVMaximumValueAllows you to specify the maximum graph value for automatic calculation of percentages in a "Percentage imaged" graph.
HImportCSVImports a CSV 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).
HListHistoryPlanningLists the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view).
HRplAddFileAdds a file to a universal replication.
HS DeleteAllHistoryPlanningPurge the entire execution history of scheduled elements on an HFSQL server.
HSuppressHistoryPlanningDeletes the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view.).
iAddBookmarkAdds a bookmark in the report viewer or when exporting to PDF.
iInitReportVersoInitializes the parameters of a report to be printed on the verso side of another report.
OrganizerBackgroundColorDefines a background color for a time slot in an Organizer control.
PDFExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
SchedulerBackgroundColorSets a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.).
WebserviceLitTokenUserRetrieves the access token received by the web service currently running.
New WLanguage functions for WEBDEV in Linux (prefix syntax):
<AuthToken>.LogoutUser logout.
<AuthToken>.RevokeRevokes a JSON Web Token (JWT).
<docFragment variable>.ClearFormattingReplaces the current formatting of a selection with the default formatting.
<Document variable>.ToHTMLConverts a Document variable into an HTML file.
<Graphe>.PIImageDefines the image used to illustrate data in a "Percentage imaged" graph.
<Graphe>PIVMaximumValueAllows you to specify the maximum graph value for automatic calculation of percentages in a "Percentage imaged" graph.
<Organizer>.BackgroundColorDefines a background color for a time slot in an Organizer control.
<pdfDocument variable>.ExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
<Report>.InitReportVersoInitializes the parameters of a report to be printed on the verso side of another report.
<Scheduler>.BackgroundColorSets a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.).
<Source>.ImportCSVImports a CSV 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).
<Variable Connexion>DeletePlanningHistoryDeletes the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view.).
<Variable Connexion>ListHistoryPlanningLists the execution history of a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view).
<Word Processing>.ClearFormattingReplaces the current formatting of a selection in a Word Processing control with the default formatting.
<Word Processing>.ToHTMLConverts the content of a Word Processing control into an HTML file.
WEBDEV - Browser code New WLanguage functions for WEBDEV in Browser code:
AnsiToOemConverts an ANSI string (Windows) to an OEM string (DOS).
BufferToIntegerExtracts an integer from a binary buffer at a given position.
BufferToPhraseConverts a buffer to a mnemonic phrase using the BIP39 algorithm.
BufferToRealExtracts a real from a binary buffer at a given position.
CodeEditorCommentComments the current selection in the Code Editor control. "//" characters are inserted at the beginning of the current line.
CodeEditorDeleteAllDeletes the contents of the Code Editor control.
CodeEditorDuplicateLineDuplicates the current line in the Code Editor control.
CodeEditorInsertInserts a string in the Code Editor control.
CodeEditorReplaceFinds and replaces a string in the Code Editor control.
CodeEditorSearchSearches for a string or regular expression in the Code Editor control.
CodeEditorUncommentUncomments the current selection in the Code Editor control. "//" characters at the beginning of the current line are removed.
CompleteDirAdds a backslash to the end of a string, if necessary.
CurrentDayReturns the number of the current day in the current month.
DateToDayOfYearReturns the day of the year corresponding to a given date.
DayInYearToDateReturns the date (in "YYYYMMDD" format) corresponding to a day number in the year.
DequeueRemoves an element from the queue.
EmailCheckAddressChecks the validity of an email address.
EnqueueAdds an element to the queue.
fContentTypeReturns the type of file according to the MIME standard (Multipurpose Internet Mail Extensions).
GenerateLoremGenerates a random "Lorem ipsum" text to temporarily populate a control with text, for example.
HexaToIntReturns the numeric value of a hexadecimal string.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
In64bitModeIndicates whether or not the code is run in 64-bit mode.
InAWPModeUsed to determine if the page currently run is an Active WEBDEV Page.
InComponentModeIndicates whether the code is run:
  • from a WINDEV application, a WEBDEV website or a PHP page.
  • from a component.
IntToHexaReturns the hexadecimal string of a numeric value.
LastDayOfYearReturns the date of the last day of the year.
LineToPositionReturns the position of the first character of a line in a block of text.
LuhnCalculateCalculates the next Luhn check digit for a given sequence.
LuhnCheckChecks that the given sequence is valid according to the Luhn formula.
OemToAnsiConverts an OEM string (DOS) to an ANSI string (Windows).
PhraseToBufferReturns the buffer encoded in a BIP39 mnemonic phrase.
PopPops an element from a stack.
PositionToLineReturns the number of the line that contains a character identified by its position in a block of text.
PushPushes an element onto the stack.
QueueInfoRetrieves the characteristics of a queue: types of elements and number of elements.
RegexMatchChecks whether a string matches the format defined by a regular expression.
RegexReplaceReplaces all the parts of a string that match a specific format.
RegexSearchSearches for all the parts of a string that match a specific format.
RoundToMultipleReturns a numeric value rounded to the nearest multiple of another numeric value.
StackInfoRetrieves the characteristics of a stack: types of elements and number of elements.
StringDeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
TimeValidChecks the time validity.
UncompleteDirRemoves the '/' or '\' characters from the end of a string, if necessary.
WeekToDateReturns the date of the Monday for the specified week and year.
New WLanguage functions for WEBDEV in Browser code (prefix syntax):
<ANSI string>.AnsiToOemConverts an ANSI string (Windows) to an OEM string (DOS).
<ANSI string>.DeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
<ANSI string>.RegexMatchChecks whether a string matches the format defined by a regular expression.
<ANSI string>.RegexReplaceReplaces all the parts of a string that match a specific format.
<ANSI string>.RegexSearchSearches for all the parts of a string that match a specific format.
<Code Editor>.CommentComments the current selection in the Code Editor control. "//" characters are inserted at the beginning of the current line.
<Code Editor>.DeleteAllDeletes the contents of the Code Editor control.
<Code Editor>.DuplicateLineDuplicates the current line in the Code Editor control.
<Code Editor>.InsertInserts a string in the Code Editor control.
<Code Editor>.ReplaceFinds and replaces a string in the Code Editor control.
<Code Editor>.SearchSearches for a string or regular expression in the Code Editor control.
<Code Editor>.UncommentUncomments the current selection in the Code Editor control. "//" characters at the beginning of the current line are removed.
<Date type>.ToDayOfYearReturns the day of the year corresponding to a given date.
<OEM string>.OemToAnsiConverts an OEM string (DOS) to an ANSI string (Windows).
<Queue variable>.DequeueRemoves an element from the queue.
<Queue variable>.EnqueueAdds an element to the queue.
<Queue variable>.InfoRetrieves the characteristics of a queue: types of elements and number of elements.
<Stack variable>.InfoRetrieves the characteristics of a stack: types of elements and number of elements.
<Stack variable>.PopPops an element from a stack.
<Stack variable>.PushPushes an element onto the stack.
<Unicode string>.RegexMatchChecks whether a string matches the format defined by a regular expression.
<Unicode string>.RegexReplaceReplaces all the parts of a string that match a specific format.
<Unicode string>.RegexSearchSearches for all the parts of a string that match a specific format.
Improved WLanguage functions
WEBDEV - Server codeWindowsLinux The following functions have been improved in this version:
DecryptStandardThe cryptAES192 constant allows you to use the AES-192 encryption algorithm.
DocToPDFLinks are preserved when a document is exported to PDF.
DriveListFileThe fdFullInformation constant is used to get detailed information on the files listed.
DriveListFileGglThe fdFullInformation constant is used to get detailed information on the files listed.
EncryptStandardThe cryptAES192 constant allows you to use the AES-192 encryption algorithm.
HModifyStructureNew constant for saving logs before automatically modifying data.
HSetServerNew constant for specifying the number of scheduled item executions kept in the history.
iAddAttachmentNew constants for specifying the value of the AFRelationship key, required to use Factur-X.
InitRandomThis function now returns the random seed used.
MenuAddOptionThis function can now take a browser procedure as a parameter.
ProjectInfopiVersion, new constant to get the version number of the application's main library (WDL file).
SchedulerAddResourceHTML code and images can now be added to customize resource labels.
SocketReadNew parameter for setting the maximum waiting time without any data IncomingData.
xlsOpenIt is now possible to open a CSV file.
xlsSaveIt is now possible to save in CSV format.
WEBDEV - Browser code The following functions have been improved in this version:
ArrayDeleteAllIt is now possible to delete all elements in a queue or stack.
ChronoEndIt is now possible to use the syntax that uses the Chrono type.
ChronoPauseIt is now possible to use the syntax that uses the Chrono type.
ChronoResetIt is now possible to use the syntax that uses the Chrono type.
ChronoResumeIt is now possible to use the syntax that uses the Chrono type.
ChronoStartIt is now possible to use the syntax that uses the Chrono type.
ChronoValueIt is now possible to use the syntax that uses the Chrono type.
DeleteAllIt is now possible to delete all elements in a queue or stack.
DeserializeQueues and stacks can now be deserialized.
Replace
  • The syntax for replacing a set of strings with a new string is now available.
  • The syntax for replacing a portion of a string with a new string is now available.
  • It is now possible to specify search options.
SerializeQueues and stacks can now be serialized.
WeekNumberIt is now possible to return a date in ISO 8601 format.
New WLanguage properties
WEBDEV - Browser code New WLanguage properties:
CursorThe Cursor property gets and sets the position of the mouse cursor in one of the following controls:
  • Edit control.
  • Editable Combo Box.
  • "Edit control" table column and "Editable Combo Box" table column.
  • Word Processing control.
  • HTML Editor control.
  • Code Editor control.
CursorEndThe CursorEnd property gets and sets the end position of the mouse selection range in the following controls:
  • Edit control.
  • Editable Combo Box.
  • "Edit control" column and "Editable Combo Box" column in a Table control.
  • Word Processing control.
  • Code Editor control.
LineCursorThe LineCursor property gets and sets the number of the line where the cursor is located in a Code Editor control.
Improved WLanguage properties
WEBDEV - Browser code The following properties have been modified in this version:
EmptyIt is now possible to tell whether a queue or stack is empty.
OccurrenceNow you can find out the number of hits in a queue or stack.
New advanced types of WLanguage
WEBDEV - Server codeWindows New advanced types available for WEBDEV applications:
ftpConnexionThe type ftpConnexion type is used to define all the advanced characteristics of an FTP connection.
hHistoryPlanningThe type hHistoryPlanning allows you to view all the characteristics of a task's execution history.
pdfControlThe pdfControl type is used to get all the characteristics and values of a control present in a PDF form.
pdfControlOptionThe pdfControlOption type is used to get and set the following characteristics of an option of a control present in a PDF form:
  • option caption.
  • selected or deselected state of the option.
WEBDEV - Server codeLinux New advanced types available for WEBDEV applications in Linux:
ftpConnexionThe type ftpConnexion type is used to define all the advanced characteristics of an FTP connection.
hHistoryPlanningThe type hHistoryPlanning allows you to view all the characteristics of a task's execution history.
pdfControlThe pdfControl type is used to get all the characteristics and values of a control present in a PDF form.
pdfControlOptionThe pdfControlOption type is used to get and set the following characteristics of an option of a control present in a PDF form:
  • option caption.
  • selected or deselected state of the option.
WEBDEV - Browser code New advanced types available in browser code for WEBDEV applications:
ChronoThe Chrono type is used to define all the advanced characteristics of a stopwatch.
QueueA Queue variable is a structured type that groups a set of elements of the same type.
StackA Stack variable is a structured type that is used to group a set of elements of the same type.
Improved advanced WLanguage types
WEBDEV - Server codeWindowsLinux The following advanced types have been improved for WEBDEV applications:
GglFile
  • New DateLastModified property: Date and time a Google file was last modified.
  • New Size property: Google file size.
hBackupDescription
  • New property Anonymization Selection of data anonymization mode in the backup.
OAuth2Parameters
  • New LogoutURL property: Web service logout URL (if supported).
  • New RevocationURL property: Web service revocation URL (if supported).
  • New properties UserName and Password User name and associated password. Enable silent user authentication.
OpenIDParameter
  • New properties UserName and Password User name and associated password. Enable silent user authentication.
pdfPageThe new Control property lists the controls present in the page.
sshSessionThe new KeepAliveInterval property keeps a connection open and sets the interval between requests to check the connection is still active.
xmlNodeThe Exist property is now available in write mode and can be used to force the creation of an empty node.
Minimum version required
  • Version 2025
Comments
Click [Add] to post a comment

Last update: 12/13/2024

Send a report | Local help