AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones de enlace
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
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local