$DynamicEvaluation

$DynamicEvaluation

is a symbol whose value is True if it is evaluated as part of the evaluation of a Dynamic.

Examples

open allclose all

Basic Examples  (2)

Detect whether an evaluation is occurring inside Dynamic:

The evaluations are inside a Dynamic for Manipulate:

Applications  (1)

A function that returns messages causes Dynamic values to pink:

Use $DynamicEvaluation to print the message in regular evaluations while suppressing the pink box in Dynamic:

Introduced in 2007
 (6.0)