Form resizing dynamically

Questions and answers for designing and implementing forms in Servoy

Form resizing dynamically

Postby christof.brenke » Fri Oct 16, 2015 2:26 pm


following Scenario:

I filled an HTML_AREA with thumbnails of images. When clicking one of the thumbnails a new form with an HTML_AREA opens up for a detailled view of the Image.
In order to resize the HTML_AREA depending on the Size of the Image i have two VAR with Width and Height.
Resizing the HTML_AREA dynamically with "elements" is working fine. Is there anything for the Form itself like "setSize" or something?


Posts: 10
Joined: Wed Aug 12, 2015 3:45 pm

Re: Form resizing dynamically

Postby mboegem » Fri Oct 16, 2015 3:57 pm

Hi Christof,

you can anchor the html_area on the form, you can just open a form in dialog with the correct dimensions.
This way you don't have to set any of the dimensions on either the html_area/form.

Hope this helps.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

User avatar
Posts: 1445
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Return to Forms

Who is online

Users browsing this forum: No registered users and 4 guests