PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment