<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
  <channel>
    <title>HtmlEditor</title>
    <link>http://www.itwriting.com/phorum/list.php?3</link>
    <description><![CDATA[For discussion of the .Net HTMLEditor control]]></description>
    <language>EN</language>
    <pubDate>Thu, 25 Jun 2009 15:25:17 +0100</pubDate>
    <lastBuildDate>Thu, 25 Jun 2009 15:25:17 +0100</lastBuildDate>
    <category>HtmlEditor</category>
    <generator>Phorum 5.1.25</generator>
    <ttl>60</ttl>
    <item>
      <title>Re: styleshhetcollection</title>
      <link>http://www.itwriting.com/phorum/read.php?3,4240,4244#msg-4244</link>
      <author>Prabhath Pallati</author>
      <description><![CDATA[I was also facing the same problem till now but I found a solution to this.<br />
<br />
In IHTMLStyleSheetsCollection interface under comsupport.cs contains the following declaration for IHTMLStyleSheetsCollection.item function:<br />
<br />
[DispId(dispids.DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM)]<br />
object item([In] object pvarIndex);<br />
<br />
instead there should be the following declaration:<br />
<br />
[DispId(dispids.DISPID_IHTMLSTYLESHEETSCOLLECTION_ITEM)]<br />
object item([In] ref object pvarIndex);<br />
<br />
which will solve the problem.]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,4240,4244#msg-4244</guid>
      <pubDate>Thu, 25 Jun 2009 15:25:17 +0100</pubDate>
    </item>
    <item>
      <title>styleshhetcollection</title>
      <link>http://www.itwriting.com/phorum/read.php?3,4240,4240#msg-4240</link>
      <author>Andrei</author>
      <description><![CDATA[please help a beginner with this.<br />
i want to use this code for accessing an html page stylesheet rules:<br />
 Dim ss As onlyconnect.IHTMLStyleSheet<br />
 Dim ssCol As onlyconnect.IHTMLStyleSheetsCollection<br />
 Dim ssR As onlyconnect.IHTMLStyleSheetRule<br />
 ssCol = HtmlEditor1.HtmlDocument2.GetStyleSheets<br />
 ss = ssCol.item(0) -- one style on the page, here it gives me a null error in vb express<br />
      Dim a As Integer<br />
        For a = 0 To 15 ' I have 16 rules on a test page<br />
            ssR = ss.GetRules.Item(a)<br />
            MsgBox(ssR.GetStyle.GetCssText)<br />
        Next a<br />
the item function accept for index a pvarIndex type variable I know, but how to I use an integer for index.<br />
again please help a poor beginner.<br />
thank you]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,4240,4240#msg-4240</guid>
      <pubDate>Thu, 18 Jun 2009 19:14:35 +0100</pubDate>
    </item>
  </channel>
</rss>
