home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / AUTO2.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  1KB  |  32 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //----------------------------------------------------------------------------
  6. #ifndef Auto2H
  7. #define Auto2H
  8. //----------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <OleAuto.hpp>
  11. #include <System.hpp>
  12. //----------------------------------------------------------------------------
  13. class ButtonServer : public TAutoObject
  14. {
  15. private: 
  16.     AnsiString __fastcall GetEditStr();
  17.     void __fastcall SetEditStr(AnsiString NewVal);
  18.     int __fastcall GetEditNum();
  19.     void __fastcall SetEditNum(int NewVal);
  20.     
  21. __automated:
  22.     __property AnsiString EditStr = {read=GetEditStr, write=SetEditStr};
  23.     __property int EditNum = {read=GetEditNum, write=SetEditNum};
  24.     void __fastcall Clear();
  25.     void __fastcall SetThreeStr(AnsiString s1, AnsiString s2, AnsiString s3);
  26.     void __fastcall SetThreeNum(int n1, int n2, int n3);
  27. public:
  28.     __fastcall ButtonServer();
  29. };
  30. //----------------------------------------------------------------------------
  31. #endif    
  32.