# onResize event.

**URL:** <https://forum.servoy.com/t/onresize-event/18908>\
**Category:** Classic Servoy\
**Created:** [July 1, 2016, 3:34pm UTC](https://forum.servoy.com/t/onresize-event/18908 "2016-07-01T15:34:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imarti](https://avatars.discourse-cdn.com/v4/letter/i/898d66/32.png) [@imarti](https://forum.servoy.com/u/imarti)\
**Post date:** [July 1, 2016, 3:34pm UTC](https://forum.servoy.com/t/onresize-event/18908/1 "2016-07-01T15:34:09Z")

</div>

Hi.  
I’m very new in servoy.

I’m developing a solution and I need that the form resize whenever I change the screen size.

Maybe exist an method for it (it is wonderfull), but I think it don’t exist.

when I try to resize a form, that form don’t resize the content. If I take all elements and with an array I resize it, doesn’t works well.

Maybe I don’t explainme well. Sorry. My english are really bad.

I don’t find the information.

Thanks.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [July 1, 2016, 5:17pm UTC](https://forum.servoy.com/t/onresize-event/18908/2 "2016-07-01T17:17:45Z")

</div>

You can resize a form and all elements.

For that you have 4 ‘anchors’.  
You can set the from top-left to bottom-right so you can resize the width and height of an element.

There is also the form.onResize event that you can use.

It that a good enough answer to your question?
