下面的例子显示你按下的键的字符和键代码值。
The following example shows the character and key code values for the keys you press.
从有效的键代码中指定一个。从很多的信息中认出键代码域。
Specifies one of virtual-key codes. For more information see Key codes section.
在键和键代码之间的映射是依赖设备和操作系统。ASCII值,在另一方面,在AS文档中是可用的。
The mappings between keys and key codes are device and operating system dependent. ASCII values, on the other hand, are available in the ActionScript documentation.
它确实对于值和键长度有一些限制,但可以在代码中轻松地调整那些限制。
It does have some limitations on value and key lengths, but those are easily adjustable in the code.
如果您按照这个方式调用键不安全的函数,那么粘合代码将能够识别具体的情况,并帮助您对其进行相应处理。
If you call out this way to key-unsafe functions, the glue code recognizes the situation and takes care of it for you.
直到用户交互或代码明确地设置了焦点所有权为特殊的组件,才丢弃所有的键事件。
All key events are discarded until user interaction or code explicitly sets focus ownership to a particular component.
在这种情况下,通常最好将代码重构为一个用户定义的函数,键映射随后就可以调用该函数。
In such cases, it's usually a good idea to refactor the code out into a user-defined function, which the key-mapping can then call.
因此,不能使用粘合代码的-q inlglue内联选项来编译可识别键的内核扩展。
Hence, a key-aware kernel extension must be compiled with the -q noinlglue option for glue code.
然后按下enter键,接下来在下面的行中输入以下代码。
Then, press the Enter key. Next, type this code on the following line.
现在在浏览器中复制并粘贴代码输出的URL,并单击enter键,您将会被要求授权MyTtDesktopClient的请求(参见图2)。
Now copy and paste the URL printed by the code in your browser, and hit the Enter key, and you will be asked to authorize the request from MyTtDesktopClient (see Figure 2).
下面的代码将添加上图中的所有外键链接。
This next section of code adds all of the foreign key links seen in the previous diagram.
在这几行代码之后,脚本将一个简单产品目录定义为一个数组,以数组键为SKUs,而对应的值存放产品信息。
Following this code, the script defines a simple product catalog as an array, with the array keys as SKUs and the corresponding values holding product information.
清单15.key - up事件处理程序中处理upArrow和Down arrow键的代码片段。
Listing 15. Code fragment of the key-up event handler for handling the up Arrow and Down Arrow keys.
生成键时,使用Google就足以提供运行良好的代码片段。
When you generate a key, Google is nice enough to provide you with a snippet of code that can get you up and running.
以下是Eclipse的使用技巧:在代码中选择errno,然后按下f3键(或右键单击errno,然后从上下文菜单中选择“OpenDeclaration”)。
Here's an Eclipse tip: Select errno in your code, then press the F3 key (or right-click on errno, then choose Open Declaration from the context menu).
您的代码获取它需要的图像描述符,然后将其添加到图像注册表,并使用键为每个图像描述符建立索引。
The idea is that your code obtains the image descriptors it needs and adds them to the image registry, indexing each one with a key.
如果在入口点处(或者附近)没有这样的门,那么代码将使用调用者当时持有的任何键来运行。
Without a gate at (or near) an entry point, code would run with whichever keys the caller happened to hold.
当这个组合键按下时,源代码查看器仍然不知道我们想要一个自动完成建议列表。
The source viewer still does not know that we want a list of completion proposals when this key combination is pressed.
接下来的两个代码清单将处理当前的键释放时间并查找与现有签名的匹配。
The next two code listings will process the current key-release times and look for a match with the existing signatures.
在可识别键的内核扩展中,所有间接的函数指针调用都将执行特殊的、常驻内核的粘合代码,该代码用于执行上述的自动amr操作。
All indirect function pointer calls in a key-aware kernel extension go through special kernel-resident glue code that performs the automatic AMR manipulations described above.
您可能希望将键查找代码打包在指定模板中,使代码更加清晰。
You might try to clean up this code a bit by packaging the key lookup code in a named template.
每行包含下订单的客户键、订单的总价值、下订单的日期、描述订单优先次序的代码。
Each row also contains the customer key that placed the order, the total value of the order, the date the order was placed, and a code describing its priority.
通常,调用规则的代码需要确保会话中存在对应于预期键的对象。
It is generally up to the code calling the rule to make sure that the object exists on the session at the expected key.
当我决定使用 acmecorp.biz/geotweet 之类的URL将得到的代码移动到生产环境中时,我将需要生成另一个键。
When I decide to move the resulting code into production — with a URL like acmecorp.biz/geotweet — I'll need to generate another key.
相对于前一个示例,此代码仅在一个地方进行了更改:放在环境Hashtable对象的provider_url键中的值。
The code only changed from the previous example in only one place: the values placed in the PROVIDER_URL key of the environment Hashtable object.
按下Ctrl +空格键将触发内容助理操作,并且会禁止这个组合键的事件,以便源代码查看器不会进一步处理它。
Pressing Ctrl + spacebar would trigger the content assist operation and would veto the key event so that it is not processed any further by the source viewer.
如果使用的是MySQL,而且想要为表定义外键,则需要在从数据库中加载模式之后,编写代码定义这些字段。
If you're using MySQL and want to define foreign keys for a table, you'll need to define those fields in code after loading the schema from the database.
如果会话已存在,第7行代码将从会话中获取会话键,否则它将为null。
Line 7 gets the session key from the session if it's already present, else it would be null.
当用户单击ok或按enter键以从用户名移向密码输入时,将执行上面所示的逻辑代码块。
When the user clicks OK or presses Enter to move from user name to password entry, the logic block shown above is executed.
当用户单击ok或按enter键以从用户名移向密码输入时,将执行上面所示的逻辑代码块。
When the user clicks OK or presses Enter to move from user name to password entry, the logic block shown above is executed.
应用推荐