Pages: 1
Print
Author Topic: XMAX 13/14 SpellCheck  (Read 1073 times)
z5659879
Member

Posts: 1


« on: January 02, 2020, 11:48:30 AM »

We are trying to upgrade XMAX 13 or 14. In our XMetal XML Editor built with XMDE 11, we have a button to open spellcheck interface. First time we open the editor and click the button, the spellcheck interface window opens. However, after we close the editor and reopen it, the Spell Check click has not reaction and we need to close our web session to make spellcheck work again. The js below does not trap any error.

xmSpellCheck.CheckSpelling = function()
{
    if (xmDRC.DocOK()) {
        if (g_objXMetal.IsSpellCheckerInstalled) {
            try {
                g_objXMetal.ShowSpellChecker();
            } catch (e) {
                alert('Failed to load spell checker:' + e.description);
            }
        } else {
            alert('Spell check has not been installed on this computer.');
        }
    } else {
        alert('No document is open.');
    }
}


System: Window 10
Web App: .NET 4., Visual Studio 2015
Web Browser, IE and Chrome
XMetal Editor:  XMetal XMAX 14.0.0230,
Visual Studio project XMetal Developer 11 and also tested with XMDE 12.0.242

This issue does not exist in our current XMAX 11/XMDE 11 Editor


Logged
Pages: 1
Print
Jump to:  

email us