method Items.UndefineSummaryBars (SummaryItem as HITEM, SummaryKey as Variant, ItemRemove as HITEM, KeyRemove as Variant)
Undefines the bars in a summary bar

 TypeDescription 
   SummaryItem as HITEM A long expression that specifies the handle of the item that displays the summary bar.   
   SummaryKey as Variant A VARIANT expression that indicates the key of the summary bar.  
   ItemRemove as HITEM A long expression that specifies the item that holds the bar being removed from the summary bar. If the ItemRemove parameter is 0, all bars in the summary bars are removed, so actually the Summary bar will include no bars.   
   KeyRemove as Variant A VARIANT expression that indicates the key of the bar being removed from the summary bar.  
The UndefineSummaryBars method does the reverse operation of the DefineSummaryBars, as it removes a bar from a summary bar. The DefineSummaryBars method defines bars being displayed under a summary bar. Once a bar that's included in a summary bar is moved or resized, its summary bar is automatically updated. Once a summary bar is moved all included bars are moved too. For instance, if your chart displays a "Summary" or "Project Summary" predefined bar, you can use the DefineSummaryBars method to define the bars included in the summary bar, so they automatically update the summary bars when moving or resizing. The DefineSummaryBars method defines a group of bars that belongs to another bar ( called summary bar ), so the margins of the summary bars are min and max of the margins of included bars. The margins of the bars are determined by ItemBar(exBarStart) and ItemBar(exBarEnd).


Send comments on this topic.
© 1999-2012 Exontrol.COM, Software. All rights reserved.