Controlling Visibility of Shapes

You can control visibility of any presentation shape, chart, or control at runtime using its dynamic property Visible

 To define whether a shape (control, chart) should be visible at runtime
  1. Select the element in the graphical editor, or in the Projects view. 
  2. Go to the shape's Properties.
  3. Switch the Visible control to the dynamic mode. 
  4. Type a boolean expression specifying the visibility of the element in the Visible edit box. The shape will be visible when the specified expression evaluates to true, and not visible otherwise. You can call your own boolean function that returns true or false depending on some object's state at runtime.