Page 1 of 1

RichEdit5 and scrollers

Posted: Tue May 13, 2025 9:41 am
by Natter
If RichEdit5 does not fit into the window, then its vertical/horizontal scrollers are visible, otherwise they are hidden.
Is it possible to find out the current state of the scrollers?

Re: RichEdit5 and scrollers

Posted: Tue May 13, 2025 1:09 pm
by cnavarro
Try with

Code: Select all | Expand

?  oRtf:WinStyle( WS_VSCROLL )
?   oRtf:WinStyle( WS_HSCROLL )

Re: RichEdit5 and scrollers

Posted: Tue May 13, 2025 1:29 pm
by Natter
Yes, it fits. Thanks !