如果你想自定义滚动条控件,那么你必须制定自己的方法。
If you want to customize a scrollbar control, then you must devise your own method.
像文本字段、选择列表或者滚动条这样的控件还用于选择特定的值,而不仅仅是触发单个动作。
Controls like text fields, pick lists, or scrollbars are used to select specific values rather than merely trigger single actions.
对于其他控件,滚动条可能出现,或者Flex会剪切掉一部分内容区域(称为内容切除)以保持您指定的大小。
For other controls, scroll bars might appear or Flex might chop the content area (a process called content clipping) to maintain the dimensions you specify.
因此,我们需要做的就是建立我们作为一个用户控件的滚动条。
So what we have to do is create our own scrollbar as a user control.
而将经常使用,但视觉上会引起混乱的功能放在屏幕底部水平滚动条左边较小的控件上。
They put the frequently used but visually dislocating functions on small controls to the left of the horizontal scrollbar near the bottom of the screen.
图19 - 1图中显示的是我们熟悉的滚动条,是图形用户界面中一种较难使用的控件。
Figure 19-1: the familiar scrollbar, shown on the left, is one of the more difficult -to-use GUI controls.
列表控件是一个很小的文本区,右侧有一个垂直滚动条(参见图21 - 10)。
List controls are small text areas with a vertical scrollbar on the right-hand edge (see Figure 21-9).
多数需要滚动条的控件本身提供滚动条,而不需要该控件。
Most controls that need scroll bars already provide them and do not require this control.
多数需要滚动条的控件本身提供滚动条,而不需要该控件。
Most controls that need scroll bars already provide them and do not require this control.
应用推荐