AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de controles
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
Warning
From version 17, PreviousField is kept for backward compatibility. This function is replaced by ControlPrevious.
Specifies the name of control that was in edit before the current control.
Example
// EDT_CITY entry code
// if coming from the "EDT_ZIP" control
IF ControlPrevious() = EDT_ZIP THEN
// Fill the name according to ZC
EDT_CITY = ZIPToCity(EDT_ZIP)
END
Syntax
<Result> = ControlPrevious()
<Result>: Character string
  • Name of control that was previously in edit (in the current window).
  • Empty string ("") if the current control is the first window control.
Remarks
  • ControlCurrent is used to find out the name of control currently in edit.
  • The name of the control is always relative to the current window.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
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