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?

Ago
  • 755
  • 7
  • 28

1 Answers1

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
);
Victoria
  • 7,822
  • 2
  • 21
  • 44