Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Script-errors when calling SETBLOCKFMT

0 views
Skip to first unread message

Alexander von Hedenstroem

unread,
Dec 14, 2000, 8:12:26 PM12/14/00
to

Hi!

I have some serious problems running the dhtml edit properly. I
installed the samples from the msdn network and copied them onto my
webserver. Now I open the fulledit.htm with IE5.5/Win2k. All works fine,
but everytime I try to assign a paragraph style (header 1, header 2,
...) from the select field to the current paragraph, NOTHING HAPPENS but
a script error (which says something like "unexpected call or
assignment" in german) is fired.

It's this line where the error is reported: tbContentElement.ExecCommand
(DECMD_SETBLOCKFMT, OLECMDEXECOPT_DODEFAULT, ParagraphStyle.value);

This is the original source without any modifications! Where may be the
problem????

--
Alexander von Hedenstroem <heden...@pyromedia.de>

0 new messages