CurrentCellVisible Property

       

Sets or returns the visibility of the current cell. Not available at design time.

Syntax

object.CurrentCellVisible [= value]

The CurrentCellVisible property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A Boolean expression that determines the visibility of the current cell, as described in Settings.

Settings

The settings for value are:

Setting Description
True The current cell (indicated by the Bookmark and Col properties) is visible within the displayed area of a grid or split.
False The cell is not visible.

Remarks

For a DataGrid control, setting the CurrentCellVisible property to True causes the grid to scroll so that the current cell is brought into view. If a grid contains multiple splits, then the current cell becomes visible in each split.

For a Split object, setting the CurrentCellVisible property to True makes the current cell visible in that split only.

In all cases, setting this property to False is meaningless and is ignored.