WebControlWrapper scrolling

Learned a lot about the websdk. Nice tool. But also some questions left.

If i place a webcontrolwrapper (in the ide) in a webpage, how can i get scrollbars if content exceeds the size of webpage and webcontrolwrapper?

You need to add a line to the SetupCSS Event:

Styles(0).Value("overflow-y") = "scroll"

Is it also possible to show the scrollbars only if needed/automatic?

Do a search for CSS overflow-y on Google. That will tell you what the options are.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.