HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Setting cursor position?
Posted by: morajo (---.virnxx9.adsl.tele.dk)
Date: Tuesday, 25-Nov-2003, 22:24:41

Hi,

(using vb.net)

I've read previous posts without figuring out how to solve this....

I need to find a specified text "[here]", remove the text "[here]" and then put the caret where "[here]" used to be.

Can this be done?

Please give me an example .... I REALLY apriciate it!!!!!!!!!!!!!!!

Thanks a million.

Morten


Re: Setting cursor position?
Posted by: Tim (---.gotadsl.co.uk)
Date: Friday, 28-Nov-2003, 13:20:47

Have a look at the TextRange object and the findText method.

Tim

Re: Setting cursor position?
Posted by: Sprietje (194.78.48.---)
Date: Monday, 08-Dec-2003, 10:30:54

Morajo

I have the same problem. I need to put focus to the htmlEditor after clicking a button.
Please give me an example.... I really appreciate it :-)

Sprietje



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
Dwt4p
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.