home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 January
/
Chip_1999-01_cd.bin
/
zkuste
/
delphi
/
D3
/
EDTOOL.ZIP
/
EDTOOL.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1998-10-07
|
30KB
|
781 lines
//----------------------------------------------------------------------------
// EdTool.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: EdTool.pas
//----------------------------------------------------------------------------
#ifndef EdToolHPP
#define EdToolHPP
//----------------------------------------------------------------------------
#include <pvlClk.hpp>
#include <Mask.hpp>
#include <pvlTedit.hpp>
#include <pvlDedit.hpp>
#include <Menus.hpp>
#include <StdCtrls.hpp>
#include <Grids.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <System.hpp>
namespace Edtool
{
//-- type declarations -------------------------------------------------------
enum TSubAlign { saLeft, saRight };
typedef void __fastcall (__closure *TWantFormEvent)(System::TObject* Sender, Forms::TForm* &Subf);
class __declspec(delphiclass) TpvlCustomDualSpeedButton;
class __declspec(pascalimplementation) TpvlCustomDualSpeedButton : public Buttons::TSpeedButton
{
typedef Buttons::TSpeedButton inherited;
private:
Classes::TNotifyEvent fOnRButtonClicked;
void __fastcall SetAbout( System::AnsiString p0);
System::AnsiString __fastcall GetAbout(void);
protected:
HIDESBASE MESSAGE void __fastcall WMRButtonUp(Messages::TWMMouse &EdTool_);
MESSAGE void __fastcall WMRButtonDn(Messages::TWMMouse &EdTool_);
HIDESBASE MESSAGE void __fastcall WMMouseMove(Messages::TWMMouse &EdTool_);
__property System::AnsiString About = {read=GetAbout, write=SetAbout, stored=false, nodefault};
__property Classes::TNotifyEvent OnRClick = {read=fOnRButtonClicked, write=fOnRButtonClicked};
public:
virtual void __fastcall RClick(void);
public:
/* TSpeedButton.Create */ __fastcall virtual TpvlCustomDualSpeedButton(Classes::TComponent* AOwner)
: Buttons::TSpeedButton(AOwner) { }
/* TSpeedButton.Destroy */ __fastcall virtual ~TpvlCustomDualSpeedButton(void) { }
};
class __declspec(delphiclass) TpvlDualSpeedButton;
class __declspec(pascalimplementation) TpvlDualSpeedButton : public TpvlCustomDualSpeedButton
{
typedef TpvlCustomDualSpeedButton inherited;
__published:
__property About ;
__property OnRClick ;
public:
/* TSpeedButton.Create */ __fastcall virtual TpvlDualSpeedButton(Classes::TComponent* AOwner) : Edtool::
TpvlCustomDualSpeedButton(AOwner) { }
/* TSpeedButton.Destroy */ __fastcall virtual ~TpvlDualSpeedButton(void) { }
};
class __declspec(delphiclass) TPvlCustomMoreEdit;
class __declspec(pascalimplementation) TPvlCustomMoreEdit : public Mask::TCustomMaskEdit
{
typedef Mask::TCustomMaskEdit inherited;
private:
Classes::TNotifyEvent fOnRButtonClick;
TWantFormEvent fWantFormEvent;
Classes::TNotifyEvent fOnButtonClick;
TSubAlign fSubAlign;
TpvlCustomDualSpeedButton* fButton;
Forms::TForm* fSubForm;
int __fastcall GetMinHeight(void);
void __fastcall SetEditRect(void);
HIDESBASE MESSAGE void __fastcall WMSize(Messages::TWMSize &EdTool_);
virtual void __fastcall CreateParams(Controls::TCreateParams &EdTool_);
bool __fastcall GetEnabled(void);
HIDESBASE void __fastcall SetEnabled(bool p0);
void __fastcall SetAbout( System::AnsiString p0);
System::AnsiString __fastcall GetAbout(void);
bool __fastcall GetReadOnly(void);
HIDESBASE void __fastcall SetReadOnly(bool p0);
Graphics::TBitmap* __fastcall GetGlyph(void);
void __fastcall SetGlyph(Graphics::TBitmap* p0);
virtual void __fastcall KeyPress(char &p0);
protected:
bool fDb;
virtual void __fastcall loaded(void);
virtual void __fastcall RBtnClick(System::TObject* p0);
virtual void __fastcall BtnClick(System::TObject* p0);
__property Graphics::TBitmap* Glyph = {read=GetGlyph, write=SetGlyph, nodefault};
__property Classes::TNotifyEvent OnRButtonClick = {read=fOnRButtonClick, write=fOnRButtonClick};
__property Classes::TNotifyEvent OnButtonClick = {read=fOnButtonClick, write=fOnButtonClick};
__property TWantFormEvent OnWantForm = {read=fWantFormEvent, write=fWantFormEvent};
virtual void __fastcall WantForm(void);
virtual void __fastcall releasesubform(void);
__property TSubAlign SubAlign = {read=fSubAlign, write=fSubAlign, nodefault};
__property bool enabled = {read=GetEnabled, write=SetEnabled, nodefault};
__property bool readonly = {read=GetReadOnly, write=SetReadOnly, nodefault};
__property TpvlCustomDualSpeedButton* Button = {read=fButton, nodefault};
__property Forms::TForm* subform = {read=fSubForm, write=fSubForm, nodefault};
virtual void __fastcall change(void);
public:
__fastcall virtual TPvlCustomMoreEdit(Classes::TComponent* p0);
__fastcall virtual ~TPvlCustomMoreEdit(void);
virtual void __fastcall CreateWnd(void);
__published:
__property System::AnsiString About = {read=GetAbout, write=SetAbout, stored=false, nodefault};
public:
/* TWinControl.CreateParented */ __fastcall TPvlCustomMoreEdit(HWND ParentWindow) : Mask::TCustomMaskEdit(
ParentWindow) { }
};
class __declspec(delphiclass) TpvlMoreEdit;
class __declspec(pascalimplementation) TpvlMoreEdit : public TPvlCustomMoreEdit
{
typedef TPvlCustomMoreEdit inherited;
__published:
__property AutoSelect ;
__property AutoSize ;
__property BorderStyle ;
__property CharCase ;
__property Color ;
__property Ctl3D ;
__property DragCursor ;
__property DragMode ;
__property Enabled ;
__property Font ;
__property Glyph ;
__property HideSelection ;
__property MaxLength ;
__property OEMConvert ;
__property ParentColor ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property PasswordChar ;
__property PopupMenu ;
__property ReadOnly ;
__property ShowHint ;
__property SubAlign ;
__property TabOrder ;
__property TabStop ;
__property Text ;
__property Visible ;
__property OnButtonClick ;
__property OnChange ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnKeyDown ;
__property OnKeyPress ;
__property OnKeyUp ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnWantForm ;
__property OnRButtonClick ;
public:
/* TPvlCustomMoreEdit.Create */ __fastcall virtual TpvlMoreEdit(Classes::TComponent* p0) : Edtool::
TPvlCustomMoreEdit(p0) { }
/* TPvlCustomMoreEdit.Destroy */ __fastcall virtual ~TpvlMoreEdit(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TpvlMoreEdit(HWND ParentWindow) : Edtool::TPvlCustomMoreEdit(
ParentWindow) { }
};
enum TDateDisplayFormat { dfLong, dfShort, dfCustom };
typedef TDateDisplayFormat TDateEditFormat;
enum TQuickChangeType { qcNone, qcWhole, qcSection };
enum TMinMaxhandler { TmmAdjust, TmmException, TmmDialog, TmmEvent };
typedef void __fastcall (__closure *TMinMaxDateEvent)(System::TObject* Sender, System::TDateTime Newvalue
, System::TDateTime min, System::TDateTime max, System::TDateTime &Value);
enum TTimeEditFormat { teIncludeSecs, teExcludeSecs };
class __declspec(delphiclass) TPvlCustomTimeEdit;
class __declspec(pascalimplementation) TPvlCustomTimeEdit : public TPvlCustomMoreEdit
{
typedef TPvlCustomMoreEdit inherited;
private:
TQuickChangeType fQuickChangeType;
bool fQuickChangeWrap;
bool fSeparateHourHand;
System::TDateTime fTime;
TDateDisplayFormat fDisplayFormat;
System::AnsiString fDisplayFormatMask;
TTimeEditFormat fEditFormat;
bool floadTime;
int fblank[4];
Word fhour;
Word fmin;
Word fsecs;
int fMinseg;
int fHourseg;
int fSecseg;
int fnumsegs;
bool ffixing;
Classes::TNotifyEvent FOnTimeChange;
Classes::TStrings* fAMPMHeadings;
bool fdoneenter;
Classes::TNotifyEvent fOnIntTimeChange;
protected:
virtual void __fastcall WantForm(void);
virtual void __fastcall loaded(void);
virtual void __fastcall doexit(void);
void __fastcall setupsegs(void);
int __fastcall activeseg(void);
__property int numsegs = {read=fnumsegs, nodefault};
void __fastcall highlightsegstart(const int p0);
void __fastcall highlightsegend(const int p0);
int __fastcall segstart(const int p0);
int __fastcall seglen(const int p0);
System::AnsiString __fastcall segvalue(const int p0);
Word __fastcall getSecs(void);
void __fastcall setSecs(Word p0);
Word __fastcall getMins(void);
void __fastcall setMins(Word p0);
Word __fastcall getHour(void);
void __fastcall setHour(Word p0);
void __fastcall SetAMPMHeadings(Classes::TStrings* p0);
System::TDateTime __fastcall GetTime(void);
void __fastcall SetTime(System::TDateTime p0);
void __fastcall SetDisplayFormat(TDateDisplayFormat p0);
void __fastcall SetDisplayFormatMask( System::AnsiString p0);
void __fastcall SetEditFormat(TTimeEditFormat p0);
HIDESBASE MESSAGE void __fastcall wmkeydown(Messages::TWMKey &EdTool_);
MESSAGE void __fastcall EMSetSel(Messages::TMessage &EdTool_);
HIDESBASE MESSAGE void __fastcall wmchar(Messages::TWMKey &EdTool_);
System::TDateTime __fastcall strtoTime(void);
HIDESBASE int __fastcall GetSelStart(void);
HIDESBASE void __fastcall SetSelStart(int p0);
HIDESBASE int __fastcall GetSelLength(void);
HIDESBASE void __fastcall SetSelLength(int p0);
void __fastcall fixselection(void);
virtual void __fastcall Timechange(void);
__property int SelLength = {read=GetSelLength, write=SetSelLength, nodefault};
__property int SelStart = {read=GetSelStart, write=SetSelStart, nodefault};
__property bool QuickChangeWrap = {read=fQuickChangeWrap, write=fQuickChangeWrap, nodefault};
__property TQuickChangeType QuickChangeType = {read=fQuickChangeType, write=fQuickChangeType, nodefault
};
__property bool LoadTime = {read=floadTime, write=floadTime, nodefault};
__property Word Secs = {read=getSecs, write=setSecs, stored=floadTime, nodefault};
__property Word Mins = {read=getMins, write=setMins, stored=floadTime, nodefault};
__property Word Hour = {read=getHour, write=setHour, stored=floadTime, nodefault};
__property TDateDisplayFormat DisplayFormat = {read=fDisplayFormat, write=SetDisplayFormat, default=0
};
__property System::AnsiString DisplayFormatMask = {read=fDisplayFormatMask, write=SetDisplayFormatMask
, nodefault};
__property Classes::TNotifyEvent OnTimeChange = {read=FOnTimeChange, write=FOnTimeChange};
__property Classes::TNotifyEvent OnIntTimeChange = {read=fOnIntTimeChange, write=fOnIntTimeChange};
public:
__property TTimeEditFormat EditFormat = {read=fEditFormat, write=SetEditFormat, default=1};
virtual void __fastcall doenter(void);
__fastcall virtual TPvlCustomTimeEdit(Classes::TComponent* p0);
__fastcall virtual ~TPvlCustomTimeEdit(void);
void __fastcall Display(bool p0);
__property System::TDateTime Time = {read=GetTime, write=SetTime};
__property Classes::TStrings* AMPMHeadings = {read=fAMPMHeadings, write=SetAMPMHeadings, nodefault}
;
__property bool SeparateHourHand = {read=fSeparateHourHand, write=fSeparateHourHand, nodefault};
public:
/* TWinControl.CreateParented */ __fastcall TPvlCustomTimeEdit(HWND ParentWindow) : Edtool::TPvlCustomMoreEdit(
ParentWindow) { }
};
class __declspec(delphiclass) TpvlTimeEdit;
class __declspec(pascalimplementation) TpvlTimeEdit : public TPvlCustomTimeEdit
{
typedef TPvlCustomTimeEdit inherited;
__published:
__property AMPMHeadings ;
__property QuickChangeWrap ;
__property QuickChangeType ;
__property LoadTime ;
__property Secs ;
__property Mins ;
__property Hour ;
__property Glyph ;
__property BorderStyle ;
__property Color ;
__property Ctl3D ;
__property DragCursor ;
__property DragMode ;
__property Enabled ;
__property Font ;
__property OEMConvert ;
__property ParentColor ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property PopupMenu ;
__property ReadOnly ;
__property SubAlign ;
__property ShowHint ;
__property TabOrder ;
__property TabStop ;
__property Visible ;
__property OnChange ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property DisplayFormat ;
__property DisplayFormatMask ;
__property EditFormat ;
__property OnTimeChange ;
__property OnWantForm ;
__property SeparateHourHand ;
public:
/* TPvlCustomTimeEdit.Create */ __fastcall virtual TpvlTimeEdit(Classes::TComponent* p0) : Edtool::
TPvlCustomTimeEdit(p0) { }
/* TPvlCustomTimeEdit.Destroy */ __fastcall virtual ~TpvlTimeEdit(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TpvlTimeEdit(HWND ParentWindow) : Edtool::TPvlCustomTimeEdit(
ParentWindow) { }
};
class __declspec(delphiclass) TPvlCustomDateEdit;
class __declspec(pascalimplementation) TPvlCustomDateEdit : public TPvlCustomMoreEdit
{
typedef TPvlCustomMoreEdit inherited;
private:
System::TDateTime fmin;
System::TDateTime fmax;
System::AnsiString fMinMaxString;
TMinMaxDateEvent fOnMinmaxError;
TMinMaxhandler fminmaxhandler;
bool fusenulldate;
System::TDateTime fnulldate;
Classes::TStrings* fDayHeadings;
System::AnsiString fMonthHeading;
System::AnsiString fYearHeading;
TDayOfWeek fStartOfWeek;
TQuickChangeType fQuickChangeType;
bool fQuickChangeWrap;
System::TDateTime fDate;
TDateDisplayFormat fDisplayFormat;
System::AnsiString fDisplayFormatMask;
TDateDisplayFormat fEditFormat;
System::AnsiString fEditFormatMask;
bool floaddate;
int fImpliedCenturyStart;
int fblank[4];
Word fnullday;
Word fnullmonth;
Word fnullyear;
Word fminday;
Word fminmonth;
Word fminyear;
Word fmaxday;
Word fmaxmonth;
Word fmaxyear;
Word fday;
Word fmonth;
Word fyear;
int fdateseg;
int fmonthseg;
int fyearseg;
Graphics::TFont* fCalFont;
int fnumsegs;
bool ffixing;
Classes::TNotifyEvent FOnDateChange;
Pvldedit::TPvlGridColors* FColors;
Pvldedit::TpvlDaySet fHighLightDays;
Pvldedit::TpvlDaySet fInvalidDays;
Classes::TList* fHighLightDates;
Classes::TList* fInvalidDates;
bool fdoneenter;
TpvlTimeEdit* fTimeEdit;
bool fShowYearButtons;
bool fShowTodayButton;
System::AnsiString fTodayHeading;
void __fastcall TimeChanged(System::TObject* p0);
virtual void __fastcall SetTimeEdit(TpvlTimeEdit* const p0);
protected:
virtual void __fastcall Notification(Classes::TComponent* p0, Classes::TOperation p1);
virtual void __fastcall WantForm(void);
virtual void __fastcall loaded(void);
virtual void __fastcall doexit(void);
void __fastcall setmin(System::TDateTime p0);
void __fastcall setmax(System::TDateTime p0);
void __fastcall setupsegs(void);
int __fastcall activeseg(void);
__property int numsegs = {read=fnumsegs, nodefault};
void __fastcall highlightsegstart(const int p0);
void __fastcall highlightsegend(const int p0);
int __fastcall maxseglen(const int p0);
int __fastcall segstart(const int p0);
int __fastcall seglen(const int p0);
System::AnsiString __fastcall segvalue(const int p0);
Word __fastcall getday(void);
void __fastcall setday(Word p0);
Word __fastcall getMonth(void);
void __fastcall setMonth(Word p0);
Word __fastcall getYear(void);
void __fastcall setYear(Word p0);
Word __fastcall getnullday(void);
void __fastcall setnullday(Word p0);
Word __fastcall getnullMonth(void);
void __fastcall setnullMonth(Word p0);
Word __fastcall getnullYear(void);
void __fastcall setnullYear(Word p0);
Word __fastcall getminday(void);
void __fastcall setminday(Word p0);
Word __fastcall getminMonth(void);
void __fastcall setminMonth(Word p0);
Word __fastcall getminYear(void);
void __fastcall setminYear(Word p0);
Word __fastcall getmaxday(void);
void __fastcall setmaxday(Word p0);
Word __fastcall getmaxMonth(void);
void __fastcall setmaxMonth(Word p0);
Word __fastcall getmaxYear(void);
void __fastcall setmaxYear(Word p0);
void __fastcall SetDate(System::TDateTime p0);
System::TDateTime __fastcall GetDate(void);
void __fastcall SetDisplayFormat(TDateDisplayFormat p0);
void __fastcall SetDisplayFormatMask( System::AnsiString p0);
void __fastcall SetEditFormat(TDateEditFormat p0);
void __fastcall SetEditFormatMask( System::AnsiString p0);
HIDESBASE MESSAGE void __fastcall wmkeydown(Messages::TWMKey &EdTool_);
void __fastcall Prependcentury( System::AnsiString &p0, System::TDateTime p1);
MESSAGE void __fastcall EMSetSel(Messages::TMessage &EdTool_);
HIDESBASE MESSAGE void __fastcall wmchar(Messages::TWMKey &EdTool_);
System::TDateTime __fastcall strtodate(void);
HIDESBASE int __fastcall GetSelStart(void);
HIDESBASE void __fastcall SetSelStart(int p0);
HIDESBASE int __fastcall GetSelLength(void);
HIDESBASE void __fastcall SetSelLength(int p0);
void __fastcall fixselection(void);
virtual void __fastcall datechange(void);
void __fastcall SetDayHeadings(Classes::TStrings* p0);
void __fastcall SetCalFont(Graphics::TFont* p0);
System::TDateTime __fastcall checkbounds(System::TDateTime p0);
__property int SelLength = {read=GetSelLength, write=SetSelLength, nodefault};
__property int SelStart = {read=GetSelStart, write=SetSelStart, nodefault};
__property System::TDateTime NullDate = {read=fnulldate, write=fnulldate};
__property bool UseNullDate = {read=fusenulldate, write=fusenulldate, nodefault};
__property bool QuickChangeWrap = {read=fQuickChangeWrap, write=fQuickChangeWrap, nodefault};
__property TQuickChangeType QuickChangeType = {read=fQuickChangeType, write=fQuickChangeType, nodefault
};
__property bool LoadDate = {read=floaddate, write=floaddate, nodefault};
__property Word Day = {read=getday, write=setday, stored=floaddate, nodefault};
__property Word Month = {read=getMonth, write=setMonth, stored=floaddate, nodefault};
__property Word Year = {read=getYear, write=setYear, stored=floaddate, nodefault};
__property Word NullDay = {read=getnullday, write=setnullday, stored=fusenulldate, nodefault};
__property Word NullMonth = {read=getnullMonth, write=setnullMonth, stored=fusenulldate, nodefault}
;
__property Word NullYear = {read=getnullYear, write=setnullYear, stored=fusenulldate, nodefault};
__property Word MinDay = {read=getminday, write=setminday, nodefault};
__property Word MinMonth = {read=getminMonth, write=setminMonth, nodefault};
__property Word MinYear = {read=getminYear, write=setminYear, nodefault};
__property Word MaxDay = {read=getmaxday, write=setmaxday, nodefault};
__property Word MaxMonth = {read=getmaxMonth, write=setmaxMonth, nodefault};
__property Word MaxYear = {read=getmaxYear, write=setmaxYear, nodefault};
__property int ImpliedCenturyStart = {read=fImpliedCenturyStart, write=fImpliedCenturyStart, nodefault
};
__property TDateDisplayFormat DisplayFormat = {read=fDisplayFormat, write=SetDisplayFormat, default=0
};
__property System::AnsiString DisplayFormatMask = {read=fDisplayFormatMask, write=SetDisplayFormatMask
, nodefault};
__property TDateEditFormat EditFormat = {read=fEditFormat, write=SetEditFormat, default=1};
__property System::AnsiString EditFormatMask = {read=fEditFormatMask, write=SetEditFormatMask, nodefault
};
__property Classes::TNotifyEvent OnDateChange = {read=FOnDateChange, write=FOnDateChange};
__property TMinMaxDateEvent OnMinmaxError = {read=fOnMinmaxError, write=fOnMinmaxError};
__property System::AnsiString MinMaxString = {read=fMinMaxString, write=fMinMaxString, nodefault};
__property System::TDateTime Min = {read=fmin, write=setmin};
__property System::TDateTime Max = {read=fmax, write=setmax};
__property TpvlTimeEdit* TimeEdit = {read=fTimeEdit, write=SetTimeEdit, nodefault};
public:
virtual void __fastcall doenter(void);
__fastcall virtual TPvlCustomDateEdit(Classes::TComponent* p0);
__fastcall virtual ~TPvlCustomDateEdit(void);
void __fastcall Display(bool p0);
__property System::TDateTime Date = {read=GetDate, write=SetDate};
__property Graphics::TFont* CalendarFont = {read=fCalFont, write=SetCalFont, nodefault};
__property Classes::TStrings* DayHeadings = {read=fDayHeadings, write=SetDayHeadings, nodefault};
__property System::AnsiString TodayHeading = {read=fTodayHeading, write=fTodayHeading, nodefault};
__property bool ShowTodayButton = {read=fShowTodayButton, write=fShowTodayButton, nodefault};
__property bool ShowYearButtons = {read=fShowYearButtons, write=fShowYearButtons, default=1};
__property System::AnsiString MonthHeading = {read=fMonthHeading, write=fMonthHeading, nodefault};
__property System::AnsiString YearHeading = {read=fYearHeading, write=fYearHeading, nodefault};
__property Pvldedit::TDayOfWeek StartOfWeek = {read=fStartOfWeek, write=fStartOfWeek, nodefault};
__property TMinMaxhandler MinMaxHandler = {read=fminmaxhandler, write=fminmaxhandler, nodefault};
__property Pvldedit::TPvlGridColors* CalendarColors = {read=FColors, write=FColors, nodefault};
__property Pvldedit::TpvlDaySet HighlightDays = {read=fHighLightDays, write=fHighLightDays, default=65
};
__property Pvldedit::TpvlDaySet InvalidDays = {read=fInvalidDays, write=fInvalidDays, nodefault};
public:
/* TWinControl.CreateParented */ __fastcall TPvlCustomDateEdit(HWND ParentWindow) : Edtool::TPvlCustomMoreEdit(
ParentWindow) { }
};
class __declspec(delphiclass) TpvlDateEdit;
class __declspec(pascalimplementation) TpvlDateEdit : public TPvlCustomDateEdit
{
typedef TPvlCustomDateEdit inherited;
public:
__property Min ;
__property Max ;
__property nulldate ;
__published:
__property TodayHeading ;
__property ShowTodayButton ;
__property ShowYearButtons ;
__property TimeEdit ;
__property UseNullDate ;
__property QuickChangeWrap ;
__property QuickChangeType ;
__property LoadDate ;
__property Day ;
__property Month ;
__property Year ;
__property NullDay ;
__property NullMonth ;
__property NullYear ;
__property MinDay ;
__property MinMonth ;
__property MinYear ;
__property MaxDay ;
__property MaxMonth ;
__property MaxYear ;
__property Glyph ;
__property BorderStyle ;
__property Color ;
__property Ctl3D ;
__property DragCursor ;
__property DragMode ;
__property Enabled ;
__property Font ;
__property OEMConvert ;
__property ImpliedCenturyStart ;
__property ParentColor ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property CalendarFont ;
__property PopupMenu ;
__property ReadOnly ;
__property ShowHint ;
__property SubAlign ;
__property TabOrder ;
__property TabStop ;
__property Visible ;
__property OnChange ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property DisplayFormat ;
__property DisplayFormatMask ;
__property EditFormat ;
__property EditFormatMask ;
__property OnDateChange ;
__property DayHeadings ;
__property MonthHeading ;
__property YearHeading ;
__property StartOfWeek ;
__property MinMaxHandler ;
__property OnMinmaxError ;
__property MinMaxString ;
__property CalendarColors ;
__property HighlightDays ;
__property InvalidDays ;
__property OnWantForm ;
public:
/* TPvlCustomDateEdit.Create */ __fastcall virtual TpvlDateEdit(Classes::TComponent* p0) : Edtool::
TPvlCustomDateEdit(p0) { }
/* TPvlCustomDateEdit.Destroy */ __fastcall virtual ~TpvlDateEdit(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TpvlDateEdit(HWND ParentWindow) : Edtool::TPvlCustomDateEdit(
ParentWindow) { }
};
typedef void __fastcall (__closure *TMinMaxEvent)(System::TObject* Sender, Extended Newvalue, Extended
min, Extended max, Extended &Value);
enum TCalcAlignment { caLeft, caRight, caMixed };
enum TCalcDisplayFormat { cfnumber, cfCustom };
class __declspec(delphiclass) TPvlCustomCalcEdit;
class __declspec(pascalimplementation) TPvlCustomCalcEdit : public TPvlCustomMoreEdit
{
typedef TPvlCustomMoreEdit inherited;
private:
TAlignment FAlign;
TCalcAlignment FAlignment;
TMinMaxhandler fminmaxhandler;
TMinMaxEvent fOnMinmaxError;
System::AnsiString fMinMaxString;
Extended fmin;
Extended fmax;
Extended fvalue;
Byte fdec;
Classes::TNotifyEvent FOnDoneValue;
TCalcDisplayFormat foldDisplayFormat;
TCalcDisplayFormat fDisplayFormat;
System::AnsiString fDisplayFormatMask;
bool fdoneenter;
protected:
HIDESBASE MESSAGE void __fastcall WMPaint(Messages::TWMPaint &EdTool_);
virtual void __fastcall loaded(void);
void __fastcall SetCalcAlign(TCalcAlignment p0);
void __fastcall SetAlignment(Classes::TAlignment p0);
virtual void __fastcall WantForm(void);
Extended __fastcall GetValue(void);
void __fastcall SetValue(Extended p0);
void __fastcall SetDec(Byte p0);
virtual void __fastcall KeyDown(Word &p0, Classes::TShiftState p1);
virtual void __fastcall KeyPress(char &p0);
HIDESBASE void __fastcall settext(const System::AnsiString p0);
Extended __fastcall checkbounds(Extended p0);
HIDESBASE System::AnsiString __fastcall gettext(void);
__property System::AnsiString text = {read=gettext, write=settext, nodefault};
void __fastcall setmin(Extended p0);
void __fastcall setmax(Extended p0);
virtual void __fastcall releasesubform(void);
virtual void __fastcall Donevalue(void);
void __fastcall SetDisplayFormat(TCalcDisplayFormat p0);
void __fastcall SetDisplayFormatMask( System::AnsiString p0);
__property Extended Min = {read=fmin, write=setmin};
__property Extended Max = {read=fmax, write=setmax};
__property Classes::TNotifyEvent OnDoneValue = {read=FOnDoneValue, write=FOnDoneValue};
__property TMinMaxhandler MinMaxHandler = {read=fminmaxhandler, write=fminmaxhandler, nodefault};
__property TMinMaxEvent OnMinmaxError = {read=fOnMinmaxError, write=fOnMinmaxError};
__property System::AnsiString MinMaxString = {read=fMinMaxString, write=fMinMaxString, nodefault};
virtual void __fastcall CreateParams(Controls::TCreateParams &EdTool_);
__property Classes::TAlignment CalcAlign = {read=FAlign, write=SetAlignment, nodefault};
public:
__property TCalcDisplayFormat DisplayFormat = {read=fDisplayFormat, write=SetDisplayFormat, default=0
};
__property System::AnsiString DisplayFormatMask = {read=fDisplayFormatMask, write=SetDisplayFormatMask
, nodefault};
__property TCalcAlignment Alignment = {read=FAlignment, write=SetCalcAlign, default=2};
__property Byte Decimals = {read=fdec, write=SetDec, default=2};
__property Extended Value = {read=GetValue, write=SetValue};
__property MaxLength ;
virtual void __fastcall change(void);
void __fastcall Display(bool p0);
__fastcall virtual TPvlCustomCalcEdit(Classes::TComponent* p0);
__fastcall virtual ~TPvlCustomCalcEdit(void);
virtual void __fastcall DoExit(void);
virtual void __fastcall DoEnter(void);
public:
/* TWinControl.CreateParented */ __fastcall TPvlCustomCalcEdit(HWND ParentWindow) : Edtool::TPvlCustomMoreEdit(
ParentWindow) { }
};
class __declspec(delphiclass) TpvlCalcEdit;
class __declspec(pascalimplementation) TpvlCalcEdit : public TPvlCustomCalcEdit
{
typedef TPvlCustomCalcEdit inherited;
__published:
__property Alignment ;
__property AutoSelect ;
__property Glyph ;
__property MaxLength ;
__property Decimals ;
__property BorderStyle ;
__property CharCase ;
__property Color ;
__property Ctl3D ;
__property DisplayFormat ;
__property DisplayFormatMask ;
__property DragMode ;
__property Enabled ;
__property Font ;
__property OEMConvert ;
__property ParentColor ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property PopupMenu ;
__property ReadOnly ;
__property SubAlign ;
__property ShowHint ;
__property TabOrder ;
__property TabStop ;
__property Visible ;
__property OnChange ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnRButtonClick ;
__property Value ;
__property Min ;
__property Max ;
__property OnDoneValue ;
__property MinMaxHandler ;
__property OnMinmaxError ;
__property MinMaxString ;
__property OnWantForm ;
public:
/* TPvlCustomCalcEdit.Create */ __fastcall virtual TpvlCalcEdit(Classes::TComponent* p0) : Edtool::
TPvlCustomCalcEdit(p0) { }
/* TPvlCustomCalcEdit.Destroy */ __fastcall virtual ~TpvlCalcEdit(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TpvlCalcEdit(HWND ParentWindow) : Edtool::TPvlCustomCalcEdit(
ParentWindow) { }
};
//-- var, const, procedure ---------------------------------------------------
#define AboutStr "Edtool Ver 2.22, Copyright (c) 1996/98 P van Lonkhuyzen"
extern void __fastcall Register(void);
//-- template instantiations -------------------------------------------------
template class Pvldedit::TpvlDaySet ;
} /* namespace Edtool */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Edtool;
#endif
//-- end unit ----------------------------------------------------------------
#endif // EdTool