General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Change dialog box – "The document is not valid – Save?"

  • bjorn

    Change dialog box – "The document is not valid – Save?"

    Participants 2
    Replies 3
    Last Activity 7 years, 11 months ago

    Hi.

    I'm using XMetaL Version#: 9.0.0.053

    What I want to do is to change the dialog box popping up when i'm trying to save a document that does not conform with the rule set (see picture below).
    At first I thought this maybe could be change in a xft-file, but I couldn't find any xft-file related to this dialog box.
    So after some more searching through the XMetaL files I located similar actions in some JavaScript files. 
    Then I tried to locate the file JavaScript file which contain this information, so I could change the message and buttons.
    But I couldn't find the correct file(s).

    Do someone know where I could locate this file(s) to change the current dialog box?

    I attached two pictures beneath, the original dialog box and one how I want to look(just to illustrate).

    Thanks!

    Kind regards,
    Bjørn

    Reply

    barbwire

    Reply to: Change dialog box – "The document is not valid – Save?"

    I think this error message is hard coded in the Xmetal. You cannot change it. At least I cannot find it from the files which are provided with Xmetal.

    Reply

    Derek Read

    Reply to: Change dialog box – "The document is not valid – Save?"

    Yes, this is in fact a built-in dialog that you cannot modify.

    You can use the File_Save event macro (and maybe File_SaveAs) to change what happens during a save. See the topic “File operations” in the XMetaL Developer Programmers Guide.

    If you are working with a CMS then check with the vendor that provides the connector for that CMS as this may affect their features.

    Reply

    bjorn

    Reply to: Change dialog box – "The document is not valid – Save?"

    ok, I see.
    I'm making my own save macro.

    thanks!

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support