` Printed Icetips Article

Icetips Article



Clarion 6: Scrolling RTF control
2004-03-02 -- Dennis E Evans
 
Newsgroups: softvelocity.public.clarion6

> Does anyone have any idea how to scroll an RTF Text box under program
> control?  PROP:SelStart doesn't seem to work on it.


rtfcontrol.props.ScrollToCaret()  will scroll to the caret.

x = rtfcontrol.VScroller.position()
self.VScroller.position(x +/- 1)  

Will scroll up or down from the current position, vscroll is a protected property.

Also the em_scroll message has a page up/down option.


    Dennis



Printed November 23, 2024, 3:35 am
This article has been viewed/printed 35330 times.
Google search has resulted in 53 hits on this article since January 25, 2004.