Reputation: 765
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?
Upvotes: 5
Views: 371
Reputation: 7912
This should be done in document, so after it's loaded call e.g.:
Chromium1.Browser.MainFrame.ExecuteJavaScript(
'document.documentElement.style.overflow = ''hidden''',
'',
0
);
Upvotes: 6