cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to delete close button 'X' in the menu dialog ?

oözcan
1-Visitor

How to delete close button 'X' in the menu dialog ?

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!

2015_08_07_15_55_23_Start_New_Discussion_PTC_Community.png

ACCEPTED SOLUTION

Accepted Solutions
rpaisley
12-Amethyst
(To:oözcan)

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;

    }

}

View solution in original post

2 REPLIES 2
rpaisley
12-Amethyst
(To:oözcan)

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;

    }

}

rdiaz
12-Amethyst
(To:oözcan)

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!

Announcements

Top Tags