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
multi-select controls
Posted by: Alexandr Tarasov (
Date: Tuesday, 21-Sep-2004, 12:52:15


I want to get multi-select controls (show visual border arround all selected controls)

for this, i do the following:

controlRange = htmlEditor.Document.selection.createRange();
((IHTMLControlRange)controlRange).add((IHTMLControlElement)SelectedHTMLElement); // add elements to range

Suppose, i have added 5 elements to controlRange
here is all ok



I have received one selecting control (visual border arround), which was added firstly.

Why? Why I have not seen the all adding elements in controlRange?

And some more one question, Why i does't selected ๎ther control's applying CTRL + mouse left button click?

Re: multi-select controls
Posted by: James Hancock (
Date: Friday, 24-Sep-2004, 17:12:47

There is a param you have to pass after entering edit mode that will enable multi-select. Otherwise it's single select only.

Re: multi-select controls
Posted by: Alexadr Tarasov (
Date: Sunday, 26-Sep-2004, 12:50:22

What is param i have pass?
i not find this param, please lay out some example sourcecode...

Re: multi-select controls
Posted by: tongquan liao (116.21.230.---)
Date: Saturday, 27-Nov-2010, 07:39:38

htmlEditor1.HtmlDocument2.ExecCommand("MultipleSelection", true , null);

Your Name: 
Your Email: 
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.
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.