ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
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
iWindowCancel (Function)
In french: iFenêtreAbandon
Configures the print cancel window:
You can:
  • display or not the cancel window,
  • edit the title of the cancel window
  • modify the message of the cancel window.
Remark: This function must be called before the beginning of a print (e.g., before iPrint or iPrintReport, etc.).
Example
WINDEVWindowsUser code (UMC)
// Changes the window title and displays a line
iWindowCancel(True, "Please wait", "Printing page#P")
iPrintReport(RPT_ReportName)
Syntax
iWindowCancel(<Display> , <Title> , <Text>)
<Display>: Boolean
  • True to display the print cancel window,
  • False to avoid displaying the print cancel window.
<Title>: Character string
New title of the print cancel window.
If this parameter is not specified, the default title of the window is kept.
<Text>: Character string
Message to display in the print cancel window.
If this parameter is not specified, the default text is displayed.
To specify the page currently printed in this message, use the "#P" string. This string will be replaced by the number of the current page at runtime.
Component: wd300prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help