General XMetaL Discussion
bjorn March 30, 2015 at 7:43 am
Change dialog box – "The document is not valid – Save?"March 30, 2015 at 7:43 amParticipants 2Replies 3Last Activity 7 years, 8 months ago
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.
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).
Bjørnbarbwire March 30, 2015 at 12:49 pm
Reply to: Change dialog box – "The document is not valid – Save?"March 30, 2015 at 12:49 pm
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.Derek Read March 30, 2015 at 6:22 pm
Reply to: Change dialog box – "The document is not valid – Save?"March 30, 2015 at 6:22 pm
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.
- You must be logged in to reply to this topic.