Html host control vertical scrollbar - Advanced Installer Community
dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

Html host control vertical scrollbar

Is there a way to programmatically show or hide the vertical scrollbar in the Html host control? I want to show the vertically scrollbar only when needed, not all the time.

Thank you,

Diego
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Html host control vertical scrollbar

Hello Diego,

Just go to "Dialogs" page select your HTML Host control and in the "Properties" right pane set the "Vertical Scrollbar" attribute to "True". When this attribute is set the scrollbar will be displayed only when the layout of the rendered HTML page exceeds the HTML Host control bound.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

Re: Html host control vertical scrollbar

What you said only works for the horizontal scroll bar. The vertical scroll bar will become enable if page height exceeds control bounds but remains visible all the time. What is even more strange is if the vertical bar property is set to false and the horizontal bar is true, the vertical scroll bar still shows all the time.

Diego
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Html host control vertical scrollbar

Hello Diego,

I've tested the scenario and I was able to replicate the behavior. These seem to be limitations of our HTML Host control. We will try to fix them in a future version of Advanced Installer, thank you for helping us to isolate these issues.

When a fix will be out we will update this thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”