ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Binding 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
Assigns the control value to the source of a control link.
Remark: 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.
Example
// Modify EDIT_NAME
ControlToSource()
Syntax
ControlToSource([<Control used>])
<Control used>: Optional control name
Name of the control to be used. 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: wd290obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help