Home › Forums › General XMetaL Discussion › Using Xmetal Developer 9.0 w/MVS 2015 to debug xft › Reply To: Using Xmetal Developer 9.0 w/MVS 2015 to debug xft
Reply to: Using Xmetal Developer 9.0 w/MVS 2015 to debug xftJuly 29, 2015 at 5:53 pm
I am looking through the .js files as you suggested.
NOTE: I'm pretty certain that this code and xft, work as is, in Xmetal 6.0. All of the users that we have, that are still using Xmetal 6, ARE able to get this macro to work.
You had mentioned that the DITA developers has used similar code. Is it possible that something was changed under the covers in Xmetal, around or shortly after version 6.0, that changed and necessitated the AddTopLevelobject call prior to starting the form?
In either case i found the following code seems to work:
nonmodalDlg = null;
XftCtrl = new ActiveXObject(“XF.XFTForm”);
nonmodalDlg = XftCtrl.StartForm(“C:\Doczone\Forms\xRefErrs.xft”, 0);
(Do you know if this is all i need to add, to regain the xft functionality?)
If this is a nonstandard, undocumented/unsupported method to do this, what would be the correct way?
Also, is it possible to debug inside an xft file? I had put the debugger; command inside the code of the .xft file, but it never made it to the debugger?