CGXStyle::SetEnabled

CGXStyle& SetEnabled(BOOL b);

b

Specifies the new setting.

Return Value

Returns the this pointer.

Remarks

Initializes the enabled setting.

It is not possible to position the current cell onto a disabled cell. When the user navigates with arrow keys through the grid disabled cells will be skipped. When the user clicks with the mouse into a disabled cell nothing will happen.

It is recommended that you set disabled cells also read-only. Otherwise the user can select a range of cells and presses DELETE to clear all cells in the selected range.

See Also

 CGXGridCore::CanSelectCurrentCell  CGXStyle::SetReadOnly

CGXStyle

 Class Overview |  Class Members