home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Internet 2000 May
/
MICD_2000_05.iso
/
CBuilder5
/
INSTALL
/
DATA1.CAB
/
Program_Built_Files
/
Include
/
Vcl
/
maskprop.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-01
|
4KB
|
130 lines
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'MaskProp.pas' rev: 5.00
#ifndef MaskPropHPP
#define MaskPropHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Dialogs.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Mask.hpp> // Pascal unit
#include <DsgnIntf.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Maskprop
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TMaskProperty;
class PASCALIMPLEMENTATION TMaskProperty : public Dsgnintf::TStringProperty
{
typedef Dsgnintf::TStringProperty inherited;
public:
virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
virtual void __fastcall Edit(void);
protected:
#pragma option push -w-inl
/* TPropertyEditor.Create */ inline __fastcall virtual TMaskProperty(const Dsgnintf::_di_IFormDesigner
ADesigner, int APropCount) : Dsgnintf::TStringProperty(ADesigner, APropCount) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TPropertyEditor.Destroy */ inline __fastcall virtual ~TMaskProperty(void) { }
#pragma option pop
};
class DELPHICLASS TMaskForm;
class PASCALIMPLEMENTATION TMaskForm : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TEdit* InputMask;
Stdctrls::TLabel* Label1;
Stdctrls::TListBox* ListBox1;
Stdctrls::TLabel* Label2;
Stdctrls::TLabel* Label3;
Mask::TMaskEdit* TestEdit;
Stdctrls::TLabel* Label4;
Stdctrls::TEdit* Blanks;
Extctrls::TBevel* Bevel1;
Stdctrls::TCheckBox* SaveMaskCheck;
Stdctrls::TButton* Masks;
Dialogs::TOpenDialog* OpenDialog1;
Stdctrls::TButton* OKButton;
Stdctrls::TButton* CancelButton;
Stdctrls::TButton* HelpButton;
void __fastcall BlanksChange(System::TObject* Sender);
void __fastcall InputMaskChange(System::TObject* Sender);
void __fastcall ListDrawItem(Controls::TWinControl* Control, int Index, const Windows::TRect &Rect,
Windows::TOwnerDrawState State);
void __fastcall ListBoxSelect(System::TObject* Sender);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall MasksClick(System::TObject* Sender);
void __fastcall HelpButtonClick(System::TObject* Sender);
private:
bool FInEditChange;
AnsiString __fastcall AddBlanks(AnsiString Value);
void __fastcall LoadMaskList(const AnsiString FileName);
protected:
AnsiString __fastcall GetListMaskValue(int Index);
AnsiString __fastcall GetMaskValue(const AnsiString Value);
virtual void __fastcall Loaded(void);
public:
#pragma option push -w-inl
/* TCustomForm.Create */ inline __fastcall virtual TMaskForm(Classes::TComponent* AOwner) : Forms::TForm(
AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.CreateNew */ inline __fastcall virtual TMaskForm(Classes::TComponent* AOwner, int Dummy
) : Forms::TForm(AOwner, Dummy) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.Destroy */ inline __fastcall virtual ~TMaskForm(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TMaskForm(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TMaskForm* MaskForm;
extern PACKAGE bool __fastcall EditInputMask(AnsiString &InputMask, const AnsiString InitialDir);
} /* namespace Maskprop */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Maskprop;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // MaskProp