ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WEBDEV SaaS feature!
Help / New features / New features in WINDEV Suite SaaS
  • Overview
  • New WLanguage functions
  • Improved WLanguage functions
  • New 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
Version SaaS includes new and improved functions, properties and data types.
New WLanguage functions
WEBDEV - Server codeWindows New WLanguage functions in Server code:
AuthLogoutDéconnexion d'un utilisateur.
AuthRevokeTokenDéconnecte un utilisateur.
DocClearFormattingReplaces the current formatting of a selection with the default formatting.
HImportCSVRebond sur HImporteTexte.
iInitEtatVerso
PDFExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
SchedulerBackgroundColorDefines a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.).
New WLanguage functions in Server code (prefix syntax):
<AuthToken>- DisconnectUser disconnection.
<AuthToken>RevokesRevokes a JWT token.
<docFragment variable>.ClearFormattingReplaces the current formatting of a selection with the default formatting.
<Etat>.InitEtatVersoInitializes the parameters of the report to be printed on the reverse side of another report.
<pdfDocument variable>.ExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
<Scheduler>.BackgroundColorDefines 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 a data file in HFSQL Classic or Client/Server format (data file described in the analysis editor, or declared by the HDeclare, HDeclareExternal or HDecritFile functions).
<Word Processing>.ClearFormattingReplaces the current formatting of a selection in a Word Processing control with the default formatting.
WEBDEV - Server codeLinux New WLanguage functions for WEBDEV in Linux:
AuthLogoutDéconnexion d'un utilisateur.
AuthRevokeTokenDéconnecte un utilisateur.
DocClearFormattingReplaces the current formatting of a selection with the default formatting.
HImportCSVRebond sur HImporteTexte.
iAddBookmarkAdds a bookmark in the report viewer or when exporting to PDF.
iInitEtatVerso
PDFExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
SchedulerBackgroundColorDefines a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.).
New WLanguage functions for WEBDEV in Linux (prefix syntax):
<AuthToken>- DisconnectUser disconnection.
<AuthToken>RevokesRevokes a JWT token.
<docFragment variable>.ClearFormattingReplaces the current formatting of a selection with the default formatting.
<Etat>.InitEtatVersoInitializes the parameters of the report to be printed on the reverse side of another report.
<pdfDocument variable>.ExtractCreates a new PDF document from individual pages extracted from an existing PDF file.
<Scheduler>.BackgroundColorDefines 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 a data file in HFSQL Classic or Client/Server format (data file described in the analysis editor, or declared by the HDeclare, HDeclareExternal or HDecritFile functions).
<Word Processing>.ClearFormattingReplaces the current formatting of a selection in a Word Processing control with the default formatting.
WEBDEV - Browser code New WLanguage functions for WEBDEV in Browser code:
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.
CurrentDayReturns the number of the current day in the current month.
DateToDayOfYearReturns the day of the year corresponding to a given date.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
In64bitModeIndicates whether the code is run in 64-bit mode or not.
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 site or a PHP page.
  • from a component.
LastDayOfYearReturns the date of the last day of the year.
LuhnCalculateCalculates the next Luhn check digit for a given sequence.
LuhnCheckChecks that the given sequence is valid according to the Luhn formula.
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.
TimeValidChecks the time validity.
New WLanguage functions for WEBDEV in Browser code (prefix syntax):
<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.
<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.
iAddAttachmentNew constants for specifying the value of the AFRelationship key, required to use Factur-X.
InitRandomThis function now returns the random seed used.
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.
New advanced types of WLanguage
WEBDEV - Server codeWindows New advanced types available for WEBDEV applications:
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:
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.
Improved advanced WLanguage types
WEBDEV - Server codeWindowsLinux The following advanced types have been improved for WEBDEV applications:
GglFile
  • New property: DateLastModified: Date and time a Google file was last modified.
  • New property: Size: Google file size.
OAuth2Parameters
  • New property: LogoutURL: Web service logout URL (if supported).
  • New property: RevocationURL: Web service revocation URL (if supported).
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 SaaS
Comments
Click [Add] to post a comment

Last update: 07/16/2024

Send a report | Local help