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
Command identifiers
Posted by: Kevin (---.dsl.irvnca.pacbell.net)
Date: Monday, 08-Jan-2007, 11:24:19

Can somebody help me find the "Command identifiers" for "doc.execCommand" that will work with C# I'm currently making a webbrowser that will allow you to personlize your favorite webpages.
and I'm stuck on a few things that I would like to have like how to change the "Page back color" not just the selected color...

******************************************************
mshtml.HTMLDocumentClass doc = (mshtml.HTMLDocumentClass)
this.axWebBrowser1.Document;
object empty = null;
colorDialog1.ShowDialog();
object selection = doc.selection.createRange();
doc.execCommand("Forecolor", false, colorDialog1.Color.Name);
******************************************************

Plus some other features that I would like to add that I can't seem to find.

Thanks in advanced.
Kevin

Re: Command identifiers
Posted by: Tomas (---.nymburk-net.cz)
Date: Thursday, 11-Jan-2007, 21:46:15

I just solve the same problem and this seems to be solution:

[msdn.microsoft.com]

Re: Command identifiers
Posted by: John (98.223.169.---)
Date: Sunday, 22-Jun-2008, 16:46:17

That link (which is provided in Visual Studio 2008) goes to an MSDN page that is full of Japenese characters. Anybody know where the new copy is or if it exists?



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.
Jc7MX
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.