Accounting Software
Small Business Software Estimating Software
Time Tracking SoftwareTime Management SoftwareTime Billing SoftwareContact Management SoftwareCustomer Management SoftwareProject Management SoftwareBusiness Management Software

Register Tables (Header)

Link to: source code | tables directory

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

This class manages register breakdown tables for the Goldenseal accounting software,
small business management software, construction project management software and
construction accounting software.

class CRegisterTable : public CBreakdownTable
{
public:

enum { class_ID = 'RGTB' };

CRegisterTable(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo,
DB_ClassDescriptor *desc);
virtual ~CRegisterTable() {}

virtual SInt32 GetColType(const SMemberInfo &memberInfo) const;

// the table can be always be changed even if the record is locked
virtual Boolean TableCanBeChanged() const { return true; }

virtual Boolean CanChangeRow() const;
virtual void PrepareToChangeRow() const;

virtual Boolean HandleReturnKey();

virtual void AdaptToSuperScroll(SInt32 inLeftDelta, SInt32 inTopDelta);

virtual Boolean CanDoFillDown() { return false; } // TCS 11/6/02

virtual UInt8 GetTableClass() { return table_register; } // TCS 4/28/00

// store a separate ref so we don't run afowl of any code that
// assumes that the title bar is in the same view as the table
virtual void SetTitleBar(CTableTitleBar *inBar) { mEditorTitleBar = inBar; }

protected:
CTableTitleBar *mEditorTitleBar;
};