Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3833

DesktopHTMLViewer in Windows OS, hide scrollbars?

$
0
0

Hello,

I am using a DesktopHTMLViewer embedded in a window and ideally I would like to have that browser hide its scrollbars, particularly the vertical one, but I will take all/either.

I have tried various javascript calls with no sucess… the first three don’t seem to be generating errors, just not affecting the browser. The last one gets hung up on the “:”.

I am assuming CEF should be compatible with Chromium Javascript???

I have not tried other platforms as my immediate need is Windows.

Has anyone had success with this or other methods?

Regards,

Todd Fantz

XOJO 2024r3

document.body.scrollbar-width = ‘none’;
document.body.style.overflow = ‘hidden !important’;
document.body.style.overflow = ‘hidden’;
document.hide-scrollbar::webkit-scrollbar = ‘display:none’;

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3833

Trending Articles