Garry's Mod Wiki

DHTML:SetScrollbars

  DHTML:SetScrollbars( boolean show )

Description

We advise against using this. It may be changed or removed in a future update. Broken. Use the CSS overflow rule instead.

Sets if the loaded window should display scrollbars when the webpage is larger than the viewing window. This is similar to the CSS overflow rule.

Arguments

1 boolean show
True if scrollbars should be visible.