PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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:
reasonKeyboardEntry in the control via the TAB key, a shortcut or navigation in a table.
reasonClickEntry in the control via a mouse click.
reasonCodeEntry in the current control via ReturnToCapture (or equivalent function).
reasonOpeningEntry in the current control after window opening.
Component : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment