trichview.com

trichview.support




When to call Format?


Return to index


Author

Message

Martin Holmes

Posted: 05/05/2005 15:35:44


Hi there,


I've just learned from your earlier post that calling Format can now be

dangerous in v 1.9. I'm calling that in all sorts of places in my code,

based on instructions still in the Help file which warn that the

document must be formatted before you can call various functions. The

document becomes unformatted, according to the Help, after calling

functions such as DeleteItems, and we must call Format before we can

call "any editor-style method". However, according to your recent post,

"calling Format is dangerous when the caret is in table cell."


So I'm not sure what to do when, for example, the caret is in a table

cell, I've deleted some items, and I need to format the document before

calling another editor-style method. Is there a safe way to format the

document?


All help appreciated,

Martin





Powered by ABC Amber Outlook Express Converter