乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 90|回复: 2

[编程交流] What does & symbol in front of

[复制链接]

33

主题

77

帖子

44

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
165
发表于 2022-7-5 15:48:44 | 显示全部楼层 |阅读模式
What does the & symbol in front of a DCL label do?
example:
  1. label = "&Exit Program";
 
I forgot! Hopefully someone knows quick like off the top of their head;
Thank you!
回复

使用道具 举报

rlx

21

主题

1505

帖子

1551

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
81
发表于 2022-7-5 16:27:52 | 显示全部楼层
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
回复

使用道具 举报

33

主题

77

帖子

44

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
165
发表于 2022-7-5 16:57:49 | 显示全部楼层
Thank you sir.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-14 13:06 , Processed in 2.366062 second(s), 58 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表