close with ESC key.

close with ESC key.

nychoe1
Advocate Advocate
684 Views
4 Replies
Message 1 of 5

close with ESC key.

nychoe1
Advocate
Advocate

hello...

 

this is layer dialogue box.

 

when I close this box,

I want to close this box press with ESC key, do not click the x button...

 

 

let me know... please...

0 Likes
685 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

nychoe,

 

I'm not sure that it is the smartest thing to do that with esc key.

Why not use LAYERCLOSE command.

 

or you can make custom command

 

(defun c:aaa (); change aaa to your custom command

(command "_.layerclose")

)

 

Hope this help,

dicra

0 Likes
Message 3 of 5

PvdW
Explorer
Explorer

nychoe,

 

Another option is set the system variable LAYERDLGMODE to 0. The LAYER command can use either the CLASSICLAYER or the LAYERPALETTE command, which is controlled by setting LAYERDLGMODE to 0 or 1. The CLASSICLAYER dialogue box is closed when using the ESC key.

 

Peter

Message 4 of 5

Anonymous
Not applicable

Peter,

 

I agree with you, It is the best solution for problem.

 

dicra

0 Likes
Message 5 of 5

nychoe1
Advocate
Advocate
oh~ thank you for answer...
0 Likes