Indicates whether the code is run:
- from a computer in TSE mode or from a remote desktop.
- from a computer directly.
Reminder: The TSE (Terminal Server Emulation) is used to plug the terminals onto a server, which means using light clients to access a session opened on the server.
// Code run from TSE?
...
IF InTSEMode() = True THEN
// Procedure run from TSE
...
ELSE
// Standard case
// Process to perform
...
END
// Code run from TSE: disabling the unsupported effects
...
IF InTSEMode() = True THEN
WinDisableEffect(effectAnimation + effectTranslucentBorder + ...
effectDDW + effectBlur)
END
Syntax
<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.
Remarks
Availability of the function
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