ListView.EnsureVisible Method
|
|
确保列表视图中的项目可见,如果需要滚动。
命名空间:
VO
程序集:
VOGUIClasses (在 VOGUIClasses.dll 中) 版本:2.24 GA
Syntax VIRTUAL METHOD EnsureVisible(
nItem,
lPartiallyVisible
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual EnsureVisible(
Usual nItem = default,
Usual lPartiallyVisible = default
) Request Example
查看代码Parameters
- nItem (Optional)
- 类型:Usual
要使其可见的列表视图项目的索引。 - lPartiallyVisible (Optional)
- 类型:Usual
TRUE表示指定的项目只能部分可见。如果要使项目完全可见,请指定 FALSE。
Return Value
类型:
Usual
如果成功则返回 TRUE;否则返回 FALSE。
See Also