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.
multi-select controls
Posted by:
Alexandr Tarasov (---.chtts.ru)
Date: Tuesday, 21-Sep-2004, 13:52:15
Hello!
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
Applying,
((IHTMLControlRange)controlRange).select();
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?