home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmstanc / _setup.1 / AHMTFileLookup.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-05  |  3.0 KB  |  95 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTFileLookup.pas' rev: 3.00
  6.  
  7. #ifndef AHMTFileLookupHPP
  8. #define AHMTFileLookupHPP
  9. #include <AHMSControls.hpp>
  10. #include <AHMTLookupEdit.hpp>
  11. #include <Mask.hpp>
  12. #include <StdCtrls.hpp>
  13. #include <Dialogs.hpp>
  14. #include <Forms.hpp>
  15. #include <Controls.hpp>
  16. #include <Graphics.hpp>
  17. #include <Classes.hpp>
  18. #include <SysUtils.hpp>
  19. #include <Messages.hpp>
  20. #include <Windows.hpp>
  21. #include <SysInit.hpp>
  22. #include <System.hpp>
  23.  
  24. //-- user supplied -----------------------------------------------------------
  25.  
  26. namespace Ahmtfilelookup
  27. {
  28. //-- type declarations -------------------------------------------------------
  29. class DELPHICLASS TAHMFileLookup;
  30. class PASCALIMPLEMENTATION TAHMFileLookup : public Ahmtlookupedit::TAHMCustomLookupEdit 
  31. {
  32.     typedef Ahmtlookupedit::TAHMCustomLookupEdit inherited;
  33.     
  34. private:
  35.     System::AnsiString FFilter;
  36.     System::AnsiString FDefaultExt;
  37.     System::AnsiString FTitle;
  38.     System::AnsiString FInitialDir;
  39.     Dialogs::TOpenOptions FOptions;
  40.     void __fastcall GetFilenameDialog(System::TObject* Sender);
  41.     System::AnsiString __fastcall GetFilename(void);
  42.     void __fastcall SetFilename(System::AnsiString Value);
  43.     
  44. public:
  45.     __fastcall virtual TAHMFileLookup(Classes::TComponent* AOwner);
  46.     virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
  47.     
  48. __published:
  49.     __property Dialogs::TOpenOptions Options = {read=FOptions, write=FOptions, nodefault};
  50.     __property System::AnsiString Title = {read=FTitle, write=FTitle};
  51.     __property System::AnsiString InitialDir = {read=FInitialDir, write=FInitialDir};
  52.     __property System::AnsiString Filename = {read=GetFilename, write=SetFilename};
  53.     __property System::AnsiString Filter = {read=FFilter, write=FFilter};
  54.     __property System::AnsiString DefaultExt = {read=FDefaultExt, write=FDefaultExt, stored=true};
  55.     __property EditButton1 ;
  56.     __property Alignment ;
  57.     __property MaxLength ;
  58.     __property AutoSize ;
  59.     __property CharCase ;
  60.     __property Enabled ;
  61.     __property ReadOnly ;
  62.     __property Font ;
  63.     __property OnChange ;
  64.     __property OnEnter ;
  65.     __property OnExit ;
  66.     __property OnKeyDown ;
  67.     __property OnKeyPress ;
  68.     __property OnKeyUp ;
  69.     __property OnClick ;
  70.     __property OnDblClick ;
  71.     __property OnDragDrop ;
  72.     __property OnDragOver ;
  73.     __property OnEndDrag ;
  74.     __property OnMouseDown ;
  75.     __property OnMouseMove ;
  76.     __property OnMouseUp ;
  77.     __property OnStartDrag ;
  78. public:
  79.     /* TAHMCustomLookupEdit.Destroy */ __fastcall virtual ~TAHMFileLookup(void) { }
  80.     
  81. public:
  82.     /* TWinControl.CreateParented */ __fastcall TAHMFileLookup(HWND ParentWindow) : Ahmtlookupedit::TAHMCustomLookupEdit(
  83.         ParentWindow) { }
  84.     
  85. };
  86.  
  87. //-- var, const, procedure ---------------------------------------------------
  88.  
  89. }    /* namespace Ahmtfilelookup */
  90. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  91. using namespace Ahmtfilelookup;
  92. #endif
  93. //-- end unit ----------------------------------------------------------------
  94. #endif    // AHMTFileLookup
  95.