ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Specific features for the Word Processing control
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
The NumberDisplayedPage property is used to identify and change the number of the page currently displayed in the PDF Reader or Word Processing control. More than 50% of this page is displayed in the control.
Example
// Displays the number of the page displayed in a control
STC_pages = "Page " + PDF_READER_MyPDF.NumberDisplayedPage
Syntax

Identifying the number of the displayed page Hide the details

<Result> = <Control used>.NumberDisplayedPage
<Result>: Integer
Number of the page currently displayed in the specified control. More than 50% of this page is displayed.
<Control used>: Control name
Name of the control to be used:
  • PDF Reader control,
  • WINDEV Word Processing control.

Changing the number of the displayed page Hide the details

<Control used>.NumberDisplayedPage = <Page to display>
<Control used>: Control name
Name of the control to be used:
  • PDF Reader control,
  • WINDEV Word Processing control.
<Page to display>: Integer
Number of the page to display in the specified control.
Remarks
WINDEV

Specific features for the Word Processing control

  • In a Word Processing control, the number of the displayed page can differ from the number of the page currently in edit (for example, input in page N+1 while the page N is displayed at 70% in the control).
  • When the page displayed with the NumberDisplayedPage property is modified, the position of the input cursor does not change in the control.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help