BasicOView.centerLine Member
scroll the line specified by line to the center of the tree
Syntax
object.centerLine(line);
Arguments
Argument | Summary |
---|---|
line |
Returns
Remarks
See Also
Source Code
function bov_ctrln (line)
{
var first = this.tree.getFirstVisibleRow();
var last = this.tree.getLastVisibleRow();
this.scrollToRow(line - (last - first + 1) / 2);
}