Gaurav
Dec 5th, 1999, 06:25 PM
Hi,
I need to access the list of styles available with each tag.
if one uses the Web browser control to access the current document. we can say something like brwWebBrowser.Document.StyleSheets(0).Rules(0).style.color = "red"
this would set the font color to red. the 'style' object exposes a list of 100+ such properties.
Does anyone know how to access this list of properties in a Generic manner??
I want to do something like ...
foreach Element in brwWebBrowser.Document.StyleSheets(0).Rules(0).style
msgbox Element
next
So any ideas anyone??
------------------
Gaurav Mahindra
gmahindra@extentia.com
I need to access the list of styles available with each tag.
if one uses the Web browser control to access the current document. we can say something like brwWebBrowser.Document.StyleSheets(0).Rules(0).style.color = "red"
this would set the font color to red. the 'style' object exposes a list of 100+ such properties.
Does anyone know how to access this list of properties in a Generic manner??
I want to do something like ...
foreach Element in brwWebBrowser.Document.StyleSheets(0).Rules(0).style
msgbox Element
next
So any ideas anyone??
------------------
Gaurav Mahindra
gmahindra@extentia.com