PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
New WINDEV 23 feature!
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..NumberDisplayedPage is used to find out and modify the number of the page currently displayed in the PDF Reader control or in the 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 " + WP_MyDoc..NumberDisplayedPage
Syntax

Finding out the number of the displayed page Hide the details

<Result> = <Control Name>..NumberDisplayedPage
<Result>: Integer
Number of the page currently displayed in the specified control. More than 50% of this page is displayed.
<Control Name>: Character string (with or without quotes)
Name of control to use:
  • PDF Reader control,
  • Word Processing control.

Modifying the number of the displayed page Hide the details

<Control Name>..NumberDisplayedPage = <Page to Display>
<Control Name>: Character string (with or without quotes)
Name of control to use:
  • PDF Reader control,
  • Word Processing control.
<Page to Display>: Integer
Number of the page to display in the specified control.
Remarks

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 modifying the page displayed by ..NumberDisplayedPage, the position of input cursor is not modified in the control.
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment