Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello all,
I am new to PTC Community i just started to configuration of Arbortext Editor with small tasks.
The menu_delete function is perfectly working for me on some cases but there is one more thing that i should disable also in Arbortext 6.1 Editor dialog.
How should i delete the 'X' menu item on ArborText editor, what is the menu item name of this item ?
Could you please tell me ? I couldn't find it on the reference somehow, maybe not get in deep...
Any help would be appreciated, many thanks in advance!
Solved! Go to Solution.
One approach we used was to define a callback in our startup ACL code to manage the user's use of the X button and other quit actions
session_add_callback('quit', 'CheckQuit', 'PREPEND');
Where CheckQuit had the form (parameter "code" is not used)
function CheckQuit(code) {
if (modified()) {
### Do what you need here
set modified=off;
}
}
One approach we used was to define a callback in our startup ACL code to manage the user's use of the X button and other quit actions
session_add_callback('quit', 'CheckQuit', 'PREPEND');
Where CheckQuit had the form (parameter "code" is not used)
function CheckQuit(code) {
if (modified()) {
### Do what you need here
set modified=off;
}
}
Hi Oğuz,
Were you able to get this accomplished using Robert's information?
If so, feel free to mark his answer as 'Correct'/ Otherwise, let us know what other questions you may have.
Thanks!