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

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 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.