ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing 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
Copies the image of a control in a WINDEV window to a variable of type Image.
Example
// Image of an Edit control for entering a name
MyImage is Image = dCopyControlImage(EDT_Name)
Syntax
<Result> = dCopyControlImage(<Control to copy>)
<Result>: Image variable
Image variable containing the image of the control.
If an error occurs, the ErrorOccurred variable is set to True and ErrorInfo returns the corresponding error message.
<Control to copy>: Control name
Name of the control whose image should be copied.
Remarks
  • The image takes into account the state of the control (active, grayed out, etc.) when the function is called.
  • The image of the control will be retrieved even if the control is invisible, out of the window, or not in the current plane.
Component: wd290pnt.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/09/2023

Send a report | Local help