home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / MYAUTO.H < prev    next >
C/C++ Source or Header  |  1997-01-16  |  677b  |  23 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++ Builder
  3. //Copyright (c) 1987 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. #ifndef myautoH
  6. #define myautoH
  7.  
  8. #include <OleAuto.hpp>
  9.  
  10. class TMyAuto : public TAutoObject{
  11.   private:
  12.          AnsiString FMyProp;
  13.          AnsiString __fastcall GetMyProp();
  14.          void __fastcall SetMyProp(AnsiString S);
  15.   public:
  16.          __fastcall TMyAuto();
  17.  
  18.   __automated:
  19.         void __fastcall ShowDialog();
  20.         __property AnsiString MyProp = {read=GetMyProp, write=SetMyProp};
  21. };
  22. #endif
  23.