# Easily load UI in TCastleControl using TCastleControl.DesignUrl

**URL:** <https://forum.castle-engine.io/t/easily-load-ui-in-tcastlecontrol-using-tcastlecontrol-designurl/523>\
**Category:** News\
**Created:** [February 12, 2022, 6:05pm UTC](https://forum.castle-engine.io/t/easily-load-ui-in-tcastlecontrol-using-tcastlecontrol-designurl/523 "2022-02-12T18:05:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [February 12, 2022, 6:05pm UTC](https://forum.castle-engine.io/t/easily-load-ui-in-tcastlecontrol-using-tcastlecontrol-designurl/523/1 "2022-02-12T18:05:03Z")

</div>

| [![TCastleControl.DesignUrl](https://castle-engine.io/wp/wp-content/uploads/2022/02/control_lcl_design_loaded-200x117.png)](https://castle-engine.io/wp/wp-content/uploads/2022/02/control_lcl_design_loaded.png "TCastleControl.DesignUrl") |

I added `TCastleControl.DesignUrl` and `TCastleControl.DesignedComponent` to easier load designed UI in `TCastleControl`, and even see the designed UI in Lazarus form inspector.

The short documentation is [added to TCastleControl chapter](https://castle-engine.io/control_on_form).

Our engine examples [examples/lazarus/model\_3d\_with\_2d\_controls](https://github.com/castle-engine/castle-engine/tree/master/examples/lazarus/model_3d_with_2d_controls) and [examples/lazarus/two\_controls](https://github.com/castle-engine/castle-engine/tree/master/examples/lazarus/two_controls) use it already.
