WPCubed Product Support

CPPosition or ScrollToPosition in the OnShow event

Hi;

A form has an WPRichText control, and I want it to show the text at a CPPosition; with WPTools 4 I set that position in the TForm.OnShow event and it works; but with WPTools 6, it does not show current CPPosition when the form shows up. I checked CPPosition when the form is visible, and it is in the needed position, but WPRichText is showing the top of document.

How do I show the document starting at the wanted CPPosition?.

Thank you.

Felipe.

#1 ♥ 0
3.4k Views 2 users read 1 min
support

ShowCursor moves the visible text line to the logical cursor position.

#2 ♥ 0
This category is archived. No new posts are possible.