图6显示了如何使用此控件将选择、剪切、复制和粘贴功能添加到图5的文本编辑器中。
Figure 6 shows use of this control to add select, cut, copy, and paste functions to the text editor of Figure 5.
标签可能是最简单的控件,标签被用于显示纯文本(没有颜色、特殊字体或样式的文本)或称为图标的小图像。
Perhaps the simplest control, a label is used to display plain (with no color or special fonts or styles) text or a small image called an icon.
在本文中,介绍了如何为带有不同html控件的表格数据显示创建自定义标记,包括href、选择框、单选按钮、文本框和组合框。
In this article, you learned how to create a custom tag for table data display with different HTML controls, including href, checkbox, radio button, text field, and combo box.
这种方法需要你手动将一系列适当的控件分区域地添加到窗体中,例如标签和文本框,结果就像Figure6显示的那样。
This approach requires you to add fields to the form manually as a set of appropriate controls, such as Labels and TextBoxes, resulting in something that looks like Figure 6.
我将介绍如何为表格显示创建自定义标记,让它有足够的灵活性以应付不同的HTML控件,如href、选择框、单选按钮、文本框和组合框。
Here, I'll explain how to create a custom tag for table display that is flexible enough to handle different HTML controls, such as href, checkbox, radio button, text field, and combo box.
如果您在控件中选择了颜色,Editorapplet中的文本会显示所选的颜色。
If you choose a color in this control, the text in the Editor applet appears in that color.
无论使用什么技术,只要Firefox具有专门为此种类型设计的控件,则显示这种控件,否则将使用通用的文本字段。
Whichever technique you use, Firefox displays a control designed specifically for that type if it has one. If it doesn't, then it USES a generic text field.
对于这些节点,希望显示文本而不是提供输入数据的机会,所以xforms:output控件是自然的选择。
You're interested in simply displaying text rather than providing any opportunity for data input for these nodes, so the xforms:output control is a natural choice.
注意,现在当鼠标置于按钮控件上方时,将会显示添加到Help文本中的文字。
Notice now that when the mouse is over the button control, the text you added to the Help text is displayed.
还请注意CoolItem的文本没有显示,只显示了关联的控件。
Also note that the text of the CoolItem is not shown; only the associated control is shown.
项模板包含静态文本和用于在页运行时显示数据记录的控件。
The item template contains the static text and controls that are used to display the data record when the page runs.
标签控件的作用是:在一个移动设备上显示一段文本。
The Label control is used to display a text on a mobile device.
这个代码显示了如何使用标签控件来创建滚动文本和其它的特别效果。
This code shows how to create scrolling text and other special effects using label controls.
该用户控件显示一个只读文本框,其中有一个数字和两个箭头,用户可以单击这两个箭头来增加和减少文本框中的值。
The user control displays a read-only text box with a number in it and two arrows that users can click to increment and decrement the value in the text box.
前面显示的HTML表单有一个文本输入控件。
The HTML form that I showed earlier had a text input control.
OLE对象是专门用来显示大文本的控件。
指定当控件失去焦点时,控件中选定的文本是否仍显示为选定状态。
Specifies whether or not selected text appears selected when a control loses the focus.
但是,如果控件检测到错误,则它将显示指定的错误信息文本。
However, if the control detects an error, it displays the error message text that you specify.
以灰色文本显示控件的属性。
And by displaying the properties of the control in gray text.
例如,如果受保护的区域是日期,则可以显示一个对话框,使用户可以在其中选择随后应用于控件文本的日期。
For example, if the protected area is a date, you can display a dialog box that enables the user to select a date that can then be applied to the text of the control.
设置与指定控件关联的工具提示文本,然后在指定的相对位置以模式方式显示该工具提示。
Sets the ToolTip text associated with the specified control, and then displays the ToolTip modally at the specified relative position.
简单来说就是,像按钮、文本标签这类视图控件,在布局的时候,它们自己内部比外部布局代码更清楚自己需要多大的尺寸来显示自己的内容。
Leaf-level views such as buttons typically know more about what size they should be than does the code that is positioning them.
简单来说就是,像按钮、文本标签这类视图控件,在布局的时候,它们自己内部比外部布局代码更清楚自己需要多大的尺寸来显示自己的内容。
Leaf-level views such as buttons typically know more about what size they should be than does the code that is positioning them.
应用推荐