home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / MYAUTO.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  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.