PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 WEBDEV sites in Linux.
Java This function is now available for Java applications.
Android This function is now available for 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 WEBDEV sites in Linux.
Java This function is now available for Java applications.
Android This function is now available for 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 WEBDEV sites in Linux.
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 24 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 24
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
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:
      DataFile.Item = Control
    • Control linked to a class member:
      Class.Member = Control
  • The function has no effect if the control has no link.
Component : wd240obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment