Accounting Software
Small Business Software Estimating Software
Construction Estimating SoftwareBookkeeping SoftwareInventory SoftwareInventory Control SoftwareInventory Tracking SoftwareInventory Management SoftwareBusiness Management Software

Custom Calculation Viewer (Header)

Link to: source code | record viewer directory

Copyright Turtle Creek Software 1996-2006. All Rights Reserved.

This class manages custom calculators for the Goldenseal accounting software,
small business management software, construction project management software and
construction estimating software.

Viewer for custom calculations (which do math on other calculators). Setup for accounting software reports

class CCalcCustomViewer : public DB_RecordViewer
{
public:

CCalcCustomViewer(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo);
virtual ~CCalcCustomViewer() {}

virtual void UpdateValues();

protected:
void SetSecondCalcEnabled(const DBid firstCalc, const UInt8 calcType);

virtual void HandleCVChanged(CTCS_CVField *cvField);
virtual void CheckCircularity(const TagType classTag, const TagType itemTag);

virtual void HandleEditChanged(CTCS_EditField *editField);
virtual void HandlePopupChanged(CTCS_StdPopupMenu *popupMenu);

virtual void GetReadyToUpdateFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject);
virtual void FinishUpdatingFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject);

};