I cannot for the life of me get the cursor to show up in a wprichtext after loading a file unless I manually click on the wprichtext.
#1
♥ 0
I cannot for the life of me get the cursor to show up in a wprichtext after loading a file unless I manually click on the wprichtext.
Hi,
I assume this is an MDI project? Here I had the problem, too. It is somehow caused by the VCL I guess. The only way I find was the creation of a TEdit, place the cursor there and then hide that editor. Now the cursor is "free" and can be movced to TWPRichtext.
Usually a
WPRichText1.SetFocus
in Form.OnShow is enough to show the cursor in the editor.
Julian