ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / Binding functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Modification de SAISIE_NOM
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: wd300obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help