home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
MASKPROP.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
4KB
|
110 lines
//----------------------------------------------------------------------------
// MaskProp.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: MaskProp.pas
//----------------------------------------------------------------------------
#ifndef MaskPropHPP
#define MaskPropHPP
//----------------------------------------------------------------------------
#include <Dialogs.hpp>
#include <SysUtils.hpp>
#include <Mask.hpp>
#include <DsgnIntf.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <StdCtrls.hpp>
#include <Controls.hpp>
#include <Forms.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Maskprop
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TMaskProperty;
class __declspec(pascalimplementation) TMaskProperty : public Dsgnintf::TStringProperty
{
typedef Dsgnintf::TStringProperty inherited;
public:
virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
virtual void __fastcall Edit(void);
public:
/* TPropertyEditor.Destroy */ __fastcall virtual ~TMaskProperty(void) { }
public:
/* TObject.Create */ __fastcall TMaskProperty(void) : Dsgnintf::TStringProperty() { }
};
class __declspec(delphiclass) TMaskForm;
class __declspec(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,
Stdctrls::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;
System::AnsiString __fastcall AddBlanks( System::AnsiString Value);
void __fastcall LoadMaskList(const System::AnsiString FileName);
protected:
System::AnsiString __fastcall GetListMaskValue(int Index);
System::AnsiString __fastcall GetMaskValue(const System::AnsiString Value);
virtual void __fastcall Loaded(void);
public:
/* TForm.Create */ __fastcall virtual TMaskForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner)
{ }
/* TForm.CreateNew */ __fastcall TMaskForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner
, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TMaskForm(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TMaskForm(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
extern TMaskForm* MaskForm;
} /* namespace Maskprop */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Maskprop;
#endif
//-- end unit ----------------------------------------------------------------
#endif // MaskProp