AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 17, CurrentField se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por ControlCurrent.
Returns the name of the control currently in edit.
Ejemplo
// Identify the control currently in edit
ResControl = ControlCurrent()
Sintaxis
<Result> = ControlCurrent()
<Result>: Character string
  • Name of the control currently in edit,
  • Empty string ("") if no control is currently in edit (no control has focus).
iPhone/iPad If the field being entered is not an Edit control, <Résultat> is set to empty string ("")..
If the control currently in edit does not belong to the window that owns the code, the returned string has the following format: "<Window name>.<Control name>".
If the control corresponds to a table cell, <Result> contains the name of the column.
If the control belongs to a supercontrol, <Result> has the following format: <Supercontrol name>.<Control name>.
Caution: The case of the field name (upper/lower case) corresponds to that used when creating the field in the editor.
Java The case of controls belonging to supercontrols is not processed in this version.
Observaciones
To identify the control that opens a context menu, use ControlContextMenu.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

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