<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::GetError

virtual BOOL GetError(CString& strError);

strError

Reference to a CString where the error description will be stored.

Return Value

TRUE if there is an error; FALSE if subsequent operations didn't return any error.

Remarks

Returns the error state of the formula engine. Objective Grid will call this method and if necessary display a message box with error information based on the return value of this GetError method.

GetError will be checked from CGXGridCore::SetCurrentCell after storing the cell value. If the formula engine reports an error, a message box with this error will be displayed.

See Also

CGXFormulaSheet::ResetError CGXGridCore::SetCurrentCell

CGXFormulaSheet

Class Overview | Class Members