<< Return to Main Index

< Return to Class Index

CGXGridCore::DeleteRangeName

virtual BOOL DeleteRangeName(LPCTSTR name, CObject* pUndoInfo = NULL, GXCmdType ctCmd = gxDo);

name

Points to the string with the range name

pUndoInfo

A reference to a CObject pointer. DeleteRangeName will allocate this object and store undo information into this object.

ctCmd

Specifies if the executed command is undone (gxUndo), redone (gxRedo), executed the first time (gxDo) or rolled back (gxRollback).

Return Value

TRUE if a range with the given name was found; FALSE otherwise.

Remarks

Deletes a named range from the range name list.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementRangeName method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method returns FALSE. A warning will be displayed in the debug window.

END Control-Factory Specific

See Also

CGXFormulaSheet::DeleteRangeName

CGXGridCore

Class Overview | Class Members