home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
CUSTMOD.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
1KB
|
30 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "CustMod.h"
#include "DataMod.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TCust *Cust;
//---------------------------------------------------------------------------
__fastcall TCust::TCust(TComponent* Owner)
: TBase(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TCust::FilterTextChange(TObject *Sender)
{
FilterToggle->Checked = true;
Data->Customers->Filtered = true;
}
//---------------------------------------------------------------------
void __fastcall TCust::FilterToggleClick(TObject *Sender)
{
Data->Customers->Filtered = FilterToggle->Checked;
}
//---------------------------------------------------------------------