给黑莓程序添加快捷键

来源:未知 责任编辑:智问网络 发表时间:2013-10-30 11:06 点击:

黑莓开发文档中描述了如何给应用程序添加快捷键。


In your Project Properties in the Integration Development Environment (IDE), click the Resources tab. 
Under the Title ID option, specify the Resource variable name (App_Title) which corresponds to the actual text to be displayed (myApp) on the ribbon.  www.2cto.com
If you want the A in myApp to be a hotkey, insert the unicode underscore character (u0332) after the A. Therefore, in your resource package, instead of specifying myApp as the value for the variable App_Title, specify the following:
myAu0332pp


在集成开发环境中打开资源页,在Title属性中,开发者一般会在这里指定应用程序的名字。在名字中挑一个字母,然后在后面加上u0332,这个字母就成了该应用程序的快捷键。如果系统原来对这个字母定义了快捷键,则会被这个新的应用程序所取代。

如:程序名为:MyApp。如果要定义A为应用程序的快捷键,可以写成:MyAu0332pp.

另外,需要注意的是,应用程序的名字不能包含中文,如果有中文,可以用把中文字符转换成AscII字符(如:“浏览器”转换后就成了“\u6d4f\u89c8\u5668”)。

 

    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    用户名: 验证码:点击我更换图片
    最新评论 更多>>

    推荐热点

    • cocos2d-x学习笔记(19)--label 、label atlas
    • cocos2d-x学习笔记(23)--地图的使用3--CCTMXLayer
    • Cocos2d-x学习(一):HelloWorld
    • cocos2dx在xcode下开发,编译到android上(2)
    • cocos2d 设置屏幕默认方向
    • cocos2d-x学习笔记(22)--地图的使用2(TMX) --Z-Order、AnchorPoi
    • Cocos2d-x 2.0 之 Actions “三板斧” 之一
    • cocos2d-x学习笔记(18)--游戏打包(windows平台)
    • cocos2d-x学习笔记(16)--spritesheet(精灵表单)
    网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
    Copyright © 2008-2015 计算机技术学习交流网. 版权所有

    豫ICP备11007008号-1