Visual Basic: MSFlexGrid/MSHFlexGrid Controls

Visual Studio 6.0

Clear Method (MSHFlexGrid)

See Also    Example    Applies To

Clears the contents of the MSHFlexGrid. This includes all text, pictures, and cell formatting. This method does not affect the number of rows and columns within the MSHFlexGrid.



The Clear method syntax has one part:

Part Description
object An object expression that evaluates to an object in the Applies To list.


To remove cells instead of just clearing them, use the RemoveItem method on each row to be removed.