Hi;
On WP6, setting WorkOnText to wpIsFooter changes input area and setting caret into the footer area, but the component is not scrolling to the new cursor position. Is that right?. In yes, please, how do I scroll to the input position?.
Thank you.
Felipe
#1
♥ 0
🔗
5.3k Views
2 users
read 1 min
Hi,
CPPosition := 0; SetFocus; should help.
Julian
#2
♥ 0
🔗
Hi Julian;
For example, I am editing the header, and I try:
WP.WorkOnText := wpIsFooter;
WP.CPPosition := 0;
WP.SetFocus;
... but not, it does not scroll; I mean, cursor is set on footer but I still see header and body, but not the footer. I also tried:
WP.ScrollToPosition(WP.CPPosition, 0, 0);
... same results.
Felipe.
#3
♥ 0
🔗
Hi;
I am still with this problem, can't find a solution. Any other idea?
Thank you,
Felipe
#4
♥ 0
🔗
Hello,
Your're right, I missed one method ShowCursor:
WPRichText1.WorkOnText := wpIsFooter;
WPRichText1.SetFocus;
WPRichText1.ShowCursor;
Julian
#5
♥ 0
🔗
This category is archived. No new posts are possible.