home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day08 / bitbtn.cpp next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  739 b   |  20 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "BitBtn.h"
  6. #include "Button.h"
  7. //---------------------------------------------------------------------------
  8. #pragma resource "*.dfm"
  9. TBitBtnForm *BitBtnForm;
  10. //---------------------------------------------------------------------------
  11. __fastcall TBitBtnForm::TBitBtnForm(TComponent* Owner)
  12.   : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TBitBtnForm::EnableAllButtonClick(TObject *Sender)
  17. {
  18.   ButtonForm->EnableButtons(this, Sender == EnableAllButton);
  19. }
  20. //---------------------------------------------------------------------