Clip Property (MSHFlexGrid)

       

Returns or sets the contents of the cells in the MSHFlexGrid's selected region. This property is not available at design time.

Syntax

object.Clip [=string]

The Clip property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string A string expression with the contents of the selected area.

Remarks

The string may hold the contents of multiple rows and columns. In string, a tab character, Chr (9), or the constant vbTab indicates a new cell in a row. Also in string, a carriage return, Chr (13), or the constant vbCR indicates the beginning of a new row. Use the Chr function or the vb constants to embed these characters in strings.

When placing data into an MSHFlexGrid, only the selected cells are affected. If there are more cells in the selected region than are described in the string, the remaining cells are left alone. If there are more cells described in the string than there are in the selected region, the unused portion of string is ignored.