Link to: header | record viewer
directory
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
Comments
CCheckingAccountViewer
This class manages checking account viewers for the Goldenseal accounting software,
small business management software, construction
project management software and
construction estimating software.
We have special handling for the table of checkbooks.
SUPERCLASS = CAccountViewer
Constructor
/*********************************************************************************
constructor
*********************************************************************************/
CCheckingAccountViewer::CCheckingAccountViewer(const SPaneInfo &inPaneInfo,
const SViewInfo &inViewInfo)
: CAccountViewer(inPaneInfo, inViewInfo)
{
}
Source Code
/*********************************************************************************
FinishUpdatingFields split TCS 4/17/00
Finish prep work after updating fields from an object, but before displaying them
*********************************************************************************/
void CCheckingAccountViewer::FinishUpdatingFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject)
{
// the superclass handles basic field updating
THE_SUPERCLASS::FinishUpdatingFields(creationMethod, viewerObject);
// fetch the checkbook member table and update it
CMemberTable *table =
TCS_SAFE_CAST(FindPaneByID(tag_checknumbertable), CMemberTable);
if (table)
table->Refresh();
}
|