ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
  • Function availability
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
InTSEMode (Function)
In french: EnModeTSE
Indicates whether the code is run:
  • from a computer in TSE mode or from a remote desktop.
  • from a computer directly.
Reminder TSE (Terminal Server Emulation) lets you connect terminals to a server, i.e. use thin clients to access a session open on the server.
Example
// Code exécuté depuis TSE ? 
...
IF InTSEMode() = True THEN
	// Procédure exécutée depuis un TSE
	...
ELSE
	// Cas normal
	// Traitement à effectuer
	...
END
// Code exécuté depuis TSE : désactivation des effets non supportés 
...
IF InTSEMode() = True THEN
	WinDisableEffect(effectAnimation + effectTranslucentBorder + ...
		effectDDW + effectBlur)
END
Syntax
<Result> = InTSEMode()
<Result>: Boolean
  • True if the code is run from an application run on a computer in TSE mode or via a remote desktop,
  • False otherwise.
AndroidAndroid Widget Java Always corresponds to False.
WEBDEV - Browser code This parameter always corresponds to False.
Remarks

Function availability

InTSEMode can be used in all IDEs to allow for cross-platform code. Functions or procedures that use InTSEMode can be shared between several products without generating any compilation error.
Business / UI classification: Neutral code
Component: wd300vm.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help