treectrl.ensureVisible Method
treectrl.ensureVisible(item, parent);
Makes the item visible by expanding all its parents and scrolling it into view.
Parameters
- item
-
Required. Either an integer specifying the item handle (in which
case the parent is ignored) or a string specifying the item text. The string
may contain a regular expression.
- parent
-
Optional. Integer specifying the parent under which to search for the item.
Default value is 0, meaning that items specified by text are searched in
the whole tree control.
See also
treectrl Overview
 
© 2003 Lightweight Technologies. All rights reserved.