# onResize() in webClient not triggered when change frm height

**URL:** https://forum.servoy.com/t/onresize-in-webclient-not-triggered-when-change-frm-height/15681
**Category:** Classic Servoy
**Created:** [March 16, 2012, 3:41pm UTC](https://forum.servoy.com/t/onresize-in-webclient-not-triggered-when-change-frm-height/15681 "2012-03-16T15:41:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![acho-bacho](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@acho-bacho](https://forum.servoy.com/u/acho-bacho)
#### Post date: [March 16, 2012, 3:41pm UTC](https://forum.servoy.com/t/onresize-in-webclient-not-triggered-when-change-frm-height/15681/1 "2012-03-16T15:41:42Z")

</div>

Hi all,

when I change the form height in web client the onResize() method is not triggered. This is not true for the smart client.  
Any suggestions why this might be?

I need this in order to dynamically change an element’s height based on the form’s height.

Thanks a lot!

Acho.

---

<div class="post-metadata">

### Author: ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)
#### Post date: [March 27, 2012, 7:24am UTC](https://forum.servoy.com/t/onresize-in-webclient-not-triggered-when-change-frm-height/15681/2 "2012-03-27T07:24:08Z")

</div>

> acho-bacho:  
> Hi all,
> 
> when I change the form height in web client the onResize() method is not triggered. This is not true for the smart client.  
> Any suggestions why this might be?
> 
> I need this in order to dynamically change an element’s height based on the form’s height.
> 
> Thanks a lot!
> 
> Acho.

How do you change the form height ? Can you show some code?
