PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV and WINDEV Mobile 26 feature!
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
The ScreenshotAllowed property is used to:
  • Determine whether it is possible to take screenshots of a window,
  • Allow or prevent taking screenshots of a window.
Remark:
  • This property is used to prevent taking screenshots of windows that contain sensitive data. If a user requests a screenshot of a window in the foreground, and the ScreenshotAllowed property is set to False, the system will prevent the screenshot from being taken.
  • This property is equivalent to the "Allow window screenshot" option, in the "Details" tab of the window description.
Example
// Prevent from taking a screenshot of the window
WIN_CodeInput.ScreenshotAllowed = False
Syntax

Finding out whether window screenshots are allowed Hide the details

<Result> = <Window>.ScreenshotAllowed
<Result>: Boolean
  • True if screenshots are allowed,
  • False otherwise.
<Window>: Window name
Name of window used.

Allowing or preventing window screenshots. Hide the details

<Window>.ScreenshotAllowed = <Authorization>
<Window>: Window name
Name of window used.
<Authorization>: Boolean
  • True if screenshots are allowed,
  • False otherwise.
Remarks
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment