How can I hide the scrollbars in TChromium
Asked Answered
S

1

5

Its been a while now and I can't figure out how can I hide the scrollbars in TChromium. Is there a procedure/function or a property for it?

Serviceman answered 16/8, 2017 at 7:8 Comment(0)
D
6

This should be done in document, so after it's loaded call e.g.:

Chromium1.Browser.MainFrame.ExecuteJavaScript(
  'document.documentElement.style.overflow = ''hidden''',
  '',
  0
);
Daiquiri answered 16/8, 2017 at 7:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.