PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Assigns the control value to the source of a control link.
Note: This function is useful when developing an application in MVP mode. Used in a modification process, this function allows you to modify a member of the presentation rather than the entire presentation.
Versions 22 and later
WEBDEV - Server code This function is now available for the WEBDEV sites.
PHP This function is now available for the WEBDEV sites in PHP.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Java This function is now available for the Java applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
WEBDEV - Server code This function is now available for the WEBDEV sites.
PHP This function is now available for the WEBDEV sites in PHP.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Java This function is now available for the Java applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WEBDEV - Server code This function is now available for the WEBDEV sites.
PHP This function is now available for the WEBDEV sites in PHP.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
Java This function is now available for the Java applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Modify EDIT_NAME
ControlToSource()
Syntax
ControlToSource([<Control>])
<Control>: Optional character string (with or without quotes)
Name of control to use. If this parameter is not specified, the element designed by the "MySelf" keyword is used. The function has no effect if this element is not a control.
Remarks
  • This function is equivalent to ScreenToSource used on a single control instead of the entire window.
  • This function is equivalent to the following code:
    • Control linked to an item:
      File.Item = Control
    • Control linked to a class member:
      Class.Member = Control
  • The function has no effect if the control has no link.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment