Logged out, click to login

JEDI Online help - Details



Back to unit JvDataProviderIntf.pas Back Edit Search Administration

IJvDataConsumerViewList.ToggleItem

Summary
Toggles the expanded state of an item.

Parameters
Index - 0-based index in the view list of the item to expand or collapse. Allowed values ranges from 0 to Count-1

Description
ToggleItem expands or collapses the specified item, depending on its current state.<br> <br> If the specified item is expanded its sub items will be hidden, collapsing the item.<br> <br> If the specified item is collapsed and has sub items, the sub items will be added, expanding the item. Note that upon expanding, the AutoExpandLevel property is taken into account.<br>

See Also
IJvDataConsumerViewList.Count, IJvDataConsumerViewList.ItemHasChildren,
IJvDataConsumerViewList.ItemIsExpanded

Last changed by obones on 2009-01-04 21:13:56 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library