Home Forums General XMetaL Discussion Prevent view change to Plain Text in XMetaL Author Reply To: Prevent view change to Plain Text in XMetaL Author

Progresso

Reply to: Prevent view change to Plain Text in XMetaL Author

Thanks Derek

I was unaware of the existence of Application.DisablePlainTextView()

I can see that it's supposed to be called from the On_Application_Open event, but this cannot be allowed in my client's case since they used the samme application settings for many users that open a variety of document types.  Some of these users might enjoy the Plain Text view so I cannot just disable it for all.

However, I have tested Application.DisablePlainTextView() from one of the “document macros”, the On_Macro_File_Load event.  This allows me to prevent Plain Text view only for selected document types (Schemas).  It works fine in version 4.6 so I'll keep it.  Hope that it also works in version 5.x/6.x.

You solved my problem 🙂

Bo

Reply

Products
Downloads
Support