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
ControlInOutReason (Function)
In french: ChampCauseEntréeSortie
Indicates the origin of the entry in the control.
Caution: This function must only be used in the entry code or in the exit code of the control.
Example
// -- Entry code of EDT_EDIT1 control
// If entry in the control via the keyboard
IF ControlInOutReason() = reasonKeyboard THEN
// The control is cleared
MySelf = ""
END
Syntax
<Result> = ControlInOutReason()
<Result>: Integer constant
Origin of the entry in the control currently in edit:
reasonClickEntry in the control via a mouse click.
reasonCodeEntry in the current control via SetFocusAndReturnToUserInput (or equivalent function).
reasonKeyboardEntry in the control via the TAB key, a keyboard shortcut or by navigating through a Table control with the arrow keys.
reasonOpeningEntry in the current control after window opening.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 12/07/2022

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