How to hide scrollbars in TChromium

Now it has been a while, and I canโ€™t figure out how to hide the scrollbars in TChromium. Is there a procedure / function or property for this?

+5
source share
1 answer

This should be done in the document, so after loading the call, for example:

Chromium1.Browser.MainFrame.ExecuteJavaScript( 'document.documentElement.style.overflow = ''hidden''', '', 0 ); 
+6
source

Source: https://habr.com/ru/post/1270909/


All Articles