Jump to content

What does & symbol in front of a DCL label do?


LosGirk

Recommended Posts

What does the & symbol in front of a DCL label do?

example:

label = "&Exit Program";

 

I forgot! Hopefully someone knows quick like off the top of their head;

Thank you!

Link to comment
Share on other sites

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-AutoLISP/files/GUID-1D855150-4635-4F6B-B277-28C7EF21B939-htm.html

 

 

 

 

Any character in a label string that is preceded by an ampersand (&) becomes the mnemonic. The character doesn't have to be unique to the dialog box. If more than one tile has the same mnemonic, the user presses that key to cycle through the tiles sequentially.

Mnemonics change focus but do not select a tile. If the user specifies a mnemonic key for a tile that contains a group of items, such as a cluster or a list box, the focus is put on the first item in the tile that is a tab stop

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...