RichEdit5 and scrollers

Post Reply
Natter
Posts: 1291
Joined: Mon May 14, 2007 9:49 am

RichEdit5 and scrollers

Post 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?
User avatar
cnavarro
Posts: 6675
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 12 times
Been thanked: 13 times

Re: RichEdit5 and scrollers

Post by cnavarro »

Try with

Code: Select all | Expand

?  oRtf:WinStyle( WS_VSCROLL )
?   oRtf:WinStyle( WS_HSCROLL )
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Natter
Posts: 1291
Joined: Mon May 14, 2007 9:49 am

Re: RichEdit5 and scrollers

Post by Natter »

Yes, it fits. Thanks !
Post Reply