If you're selling a text editor with code highlighting, don't label your customers as programmers.
如果你卖的是带有代码高亮显示功能的文本编辑器,不要把你的客户标记为程序员。
Finally, this code moves the menu control to a global coordinate that is just below the label control.
最后,这段代码将菜单控件移动到位于标签控件下面的全局坐标中。
These extension points define the label for the actions and point the platform to the code that runs when the actions are selected from the menu.
这些扩展点定义动作的标签,并将平台指向当从菜单中选择动作时所运行的代码。
Since a 2d code ACTS as a thread that connects a physical label to a digital address, this may herald the use of such threads to weave an ever more intricate web.
2d条码就像一条线一样将一个标签与一个网址联系起来,这也预示着这些线将来会编制出更加复杂精密的网络。
The code in Listing 7 synchronizes all segments to show the label at the same time, ensuring that the user sees a coordinated display of a cross-segment dynamic component.
清单7中的代码同步所有段,以在相同时间显示标签,确保用户看到跨段动态组件的同位显示。
Without getting too deeply into the details of the GWT widget set, this code creates a button and a label.
这段代码将不会过多地深入GWT部件集的细节,而是创建按钮和标签。
Now let's look at the code required to change the text of a label.
现在,我们看看更改标签的文本所需的代码。
Code and label content — label content according to your defined organizational scheme, including hierarchical categories and controlled vocabularies.
添加内容代码和标签——按照已定义的组织模式(包括层次结构分类和控制词汇)添加内容标签。
Your next task is to instruct the Tree Viewer about the Content and Label providers by using the code in Listing 5.
您的下一个任务是:通过使用列表5中的代码来指示TreeViewer关于Content和Label的供应者。
As you can see from the code, the test is logically simple: pass in a word (such as pugnacious) and then verify that the corresponding Label has the correct definition as its text.
您可以从代码看到,测试逻辑非常简单:传入一个单词(比如pugnacious),然后验证相应的Label文本是否得到正确定义。
For example, to use a button in Flex, you can code the following in MXML (Multimedia XML): <a name="code-text"><mx:Button label="Submit"mx:Button>
例如,为了在Flex 中使用一个按钮,可以用 MXML(MultimediaXML)编写以下代码:<aname="code-text"><mx:Buttonlabel="Submit"
Next, use the code in Listing 23 to implement the Label Provider for supplying images.
接下来,使用列表23中的代码执行LabelProvider来提供图片。
Next, instead of the above code, use the find method to locate the Place an Order dialog by using the label text for that window in the dialog.
接下来,使用find方法代替上面的代码,利用对话框中该窗口的标签文本来定位PlaceanOrder对话框。
Write the code snippet that allows you to wrap up the E-mail address in a label tag, as shown in Listing 4.
编写一个代码片段,把电子邮件地址包围在一个标签标记中,如清单4所示。
In the next block of code I define the concept f: product, defining its preferred label, as well as alternate labels.
在接下来的代码块中,我定义了概念f:product,同时定义了它的优选标签和备选标签。
The example in code Listing 1 uses the getProperty method to determine whether a label contains a success message.
代码列表1中的例子使用了getProperty 程序来确定一个标签是否包含一个成功消息。
Let's change the code so that whenever the checkbox changes, the label next to it changes, too, to reflect the checkbox's state. This is what the new code should look like after you make the change.
让我们改动代码,以便每当复选框发生变化时,它旁边的标签也会发生变化以反映该复选框的状态。
This code extends a Label class and overrides the updateDisplayList method.
这段代码扩展了label类并覆盖updatedisplaylist方法。
After obtaining the pointer to the label, the code USES the g_assert macro to determine if the label is equal to NULL.
在得到标签的指针后,代码使用g_assert宏来确定标签是否等于NULL。
Create a label in the report layout below the table and add the following code.
在表下面的报告布局中创建一个label,并添加以下代码。
These two properties now make our label and our button accessible via our code-behind.
有了这两个属性,就可以让我们通过代码来访问标签和按钮了。
We renamed each combo widget to make them easier to distinguish in our source code, and placed a label next to each one with a text word for each option.
我们重新命名了每个组合框小部件,以便在源代码中能够更好地区分它们,同时在每个组合框旁边放置一个标签,并使用标签文本对每个选项进行了说明。
But those recordings can’t tell the computer anything useful about joints and limbs on their own, so programmers dive into the raw data and hand-code it to label each body part (at each frame!).
但没有告诉计算机有效的信息,比如哪里是关节,哪里是四肢等。程序员需深入分解原始数据,为身体各部分,进行人工编码。
You can do this by removing the old label (before setting the new maximum value) and then adding a new one. This code almost works.
可以通过删除旧的标签(在设置新的最大值之前)然后添加一个新的标签达到这一目的。
In the demo code, as usual, the label value is pulled from the resource bundle.
在demo代码中,和通常一样,label的值是从资源包中提取的。
Most of the code in the makePieSeries function is for creating a label that will show the name of the browser, how many hits, and the percentage of total hits.
在makePieSeries函数中的大多数代码都用于创建标签,此标签将显示浏览器的名称、有多少次点击以及总点击率。
Example code used to dynamically render a label.
如下例子实现标签的动态渲染。
Because label being equal to NULL signifies that the programmer has made a mistake, this ensures that the mistake will be caught before the code goes into production.
因为label等于NULL意味着程序员犯了错误,所以这可以确保在代码投入生产之前捕获到错误。
You must pass four parameters back to Nautilus, including name, attribute, label, and description. The Python code for this example is.
必须向Nautilus传递4个参数,包括name、attribute、label、以及description。
Label the button remove. For its onclick event, use the following code.
将按钮标为remove。
应用推荐