CollapseAllfunction
Collapses all rows of the specified band within the MSHFlexGrid.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION CollapseAll (BYVAL BandNumber AS LONG = -1) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
BandNumber | The band to collapse. If omitted or set to –1, all bands are collapsed. |
Description
Collapses all rows in the grid according to the specified band. If no band is specified, all rows in all bands are collapsed.
Example
' Collapse all rows in all bands grid.CollapseAll
' Collapse only band 1 grid.CollapseAll 1
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid