QESBPCSGlobals Unit Types Vars Const |
Description
This is designed to work in Borland Delphi 6 CLX and above, Borland C++ Builder 6 CLX and above, and Borland Kylix 2 and above. Most if not all features will work in Kylix 1 but it is not currently supported.
This supplies the various Constants, Data Types and Global Variables to be used throughout ESBPCS. Constants and Variables that are dependent on types from Graphics and other units that have "overhead" have been placed in ESBPCSGlobals2.
Copyright © 1999-2002 ESB Consultancy
v2.3 - 14 September 2002
Types |
String16 | A Short String with 16 characters. |
String32 | A Short String with 32 characters. |
TDoubleFunction | Function used for transformation of Double floats |
TESB2DigitYr | Different ways in which 1 & 2 Digit Years are handled in Str2Date and in the Date Edit Components. |
TESBAlignCaption | Used sligning a Caption for display. |
TESBAltHypType | Hypothesis Comparison Types. |
TESBBitList | Used for a Bit List of 16 bits from 15 -> 0. |
TESBBoundsValidationEvent | The event for the User Handling of Validation Errors. |
TESBBoundsValidationType | Different types of Validation Error. |
TESBByteMatrix | Matrix made up of Bytes. |
TESBByteSet | Set of Bytes. |
TESBByteVector | Vector made up of Bytes. |
TESBCalcEvent | Calc Event used in CalcEdit which allow you to replace the Popup Calculator with your own. |
TESBCalcGlyphType | Identifies the type of glyph to use for the Calculator Button. |
TESBCalendarEvent | Calendar Event used in CalEdit which allow you to replace the Popup Calendar with your own. |
TESBCalFrameStyle | When drawing a Calendar Frame, these are the styles available. |
TESBCalMenuClickEvent | Calendar Event called when User Menu Event is called. |
TESBChangeEvent | Change Event used in Compound Components where the ElementNo identifies which element was changed. |
TESBChangePosEvent | The event is used to notify a change in Value presenting both the Current/Old Value and the new Value. |
TESBCharSet | Set of Characters. |
TESBCharVector | Vector made up of Chars. |
TESBCheckStyle | Controls the symbol that is displayed in the Box of an ESBCheckBox when it is checked. |
TESBComplex | Complex Number type - see ESBPCSComplex for usage. |
TESBComplexMatrix | Matrix made up of Complex Numbers. |
TESBComplexType | Different types of display for Complex Numbers. |
TESBComplexVector | Vector made up of Complex Numbers. |
TESBConvertErrorEvent | Convert Event used in components when conversion from text has resulted in an error - includes Text Responsible. |
TESBConvertEvent | Convert Event used in components when conversion from text is being Enhanced. |
TESBCurrency | A "short" currency type with an implied 2 decimal places and reduced rounding errors. |
TESBCurrencyFormatType | Type of Currency Format to use. |
TESBCurrencyMatrix | Matrix made up of Delphi Currency. |
TESBCurrencyVector | Vector made up of Delphi Currency. |
TESBCurrMatrix | Matrix made up of ESB Currency. |
TESBCurrVector | Vector made up of ESB Currency. |
TESBDateFormatType | Type of Date Format to use. |
TESBDateOrder | Identifies which of the three common formats for Date Order that a given Date Format is in. |
TESBDateTimeFormatType | Type of Date/Time Label Format to use. |
TESBDayOfWeek | Days of the week Type used for Calendars & Date/Time Calculations |
TESBDeciles | Contains the 9 Deciles - uses in ESBPCSStatistics. |
TESBDOMType | Identifies the type of Day of Month to use for the DOM processing routines of ESBPCS. |
TESBDoubleMatrix | Matrix made up of Double Floats. |
TESBDoubleVector | Vector made up of Double Floats. |
TESBDOWFormatType | Type of Day of Week Format to display. |
TESBDOWSet | Set of Days of the week Type used for Calendars & Date/Time Calculations |
TESBExitStartEvent | Exit Start Event is called at the start of the DoExit but before the final conversion of text to value and before any Bounds Checking or Conversion Checking is done. |
TESBFloatMatrix | Matrix made up of Extended Floats. |
TESBFloatVector | Vector made up of Extended Floats. |
TESBFraction | Fraction type - see ESBPCSFraction for usage. |
TESBFractionDisplay | Different types of display for Mixed Fraction Edits. |
TESBFrameStyle | When drawing a Frame, these are the styles available. |
TESBGetCalMenuCountEvent | Event used to Identify how many extra Menu Items you are adding to Fast Button. |
TESBGetCalMenuNameEvent | Event used to Retrieve Calendar Menu Description. |
TESBGetElementEvent | The event is triggered when Virtual Mode is on and an Element is needed. |
TESBGetLabelEvent | The event is triggered when Virtual Mode is on and a Label is needed. |
TESBGetMatrixElementEvent | The event is triggered when Virtual Mode is on and an Element is needed. |
TESBGroupFrameStyle | When drawing a GroupBox Frame, these are the styles available. |
TESBImperial | Data Type for storing information about mixed Imperial units for example Feet & inches. |
TESBInt64Matrix | Matrix made up of Int64s. |
TESBInt64Vector | Vector made up of Int64. |
TESBItemEnabledEvent | Event called to identify whether a Component within a Group Component should be Enabled or Disabled. |
TESBJulian | Stores the Astronomical Julian Day Number and represents the number of days since Midday, 1 January 4713 BC - measured at Greenwich Meridian. |
TESBLabelAttachAlignH | When an ESB Label is attached to a control on either left (elaLeft) or right (elaRight) then then controls how the Vertical Alignment is handled. |
TESBLabelAttachAlignV | When an ESB Label is attached to a control on either left (elaLeft) or right (elaRight) then then controls how the Vertical Alignment is handled. |
TESBLabelAttachType | When an ESB Label is attached to a control it can be positioned in one of the following 4 positions. |
TESBLabelStyle | When displaying an ESB Label the following apply. |
TESBLabelType | Identifies types of Labels. |
TESBLIntMatrix | Matrix made up of LongInts. |
TESBLIntVector | Vector made up of LongInts. |
TESBLongBitList | Used for a Bit List of 32 bits from 31 -> 0. |
TESBLongCurrency | A more robust Currency type with an implied 6 decimal places and reduced rounding errors. |
TESBLongCurrMatrix | Matrix made up of ESB Long Currency. |
TESBLongCurrVector | Vector made up of ESB Long Currency. |
TESBLWordMatrix | Matrix made up of LongWords. |
TESBLWordVector | Vector made up of LongWords. |
TESBMatrixChangeEvent | Change Event that identifies which element was changed. |
TESBMixedFraction | Mixed Fraction type - see ESBPCSFraction for usage. |
TESBMonth | Months used for Calendars & Date/Time Calculations |
TESBMonthFormatType | Type of Month Format to display. |
TESBMonthSet | Set of Months Type used for Calendars & Date/Time Calculations |
TESBPCSLanguages | |
TESBPlatform | Platform type for Registry and Installation Routines. |
TESBPosition | Represents a Geographical Postion in Latitude and Longitude. |
TESBRegIniType | Identifies the type of "storage" to use for the various Global Settings of ESBPCS. |
TESBSeparatorStyle | Separator Style - currently used for Thousand Separators. |
TESBSetElementEvent | The event is triggered when Virtual Mode is on and an Element is changed. |
TESBSetLabelEvent | The event is triggered when Virtual Mode is on and a Label is changed. |
TESBSetMatrixElementEvent | The event is triggered when Virtual Mode is on and an Element is changed. |
TESBSingleMatrix | Matrix made up of Single Floats. |
TESBSingleVector | Vector made up of Single Floats. |
TESBSIntMatrix | Matrix made up of ShortInts. |
TESBSIntVector | Vector made up of ShortInts. |
TESBSmallIntMatrix | Matrix made up of SmallInts. |
TESBSmallIntVector | Vector made up of SmallInts. |
TESBTime | Stores Time Information |
TESBTimeFormatType | Type of Time Format to use. |
TESBTimeType | Available Time Types |
TESBUrlType | Identifies the type of URL. |
TESBVector2D | Used for 2 Dimensional Vectors. |
TESBVector3D | Used for 3 Dimensional Vectors. |
TESBWordMatrix | Matrix made up of Words. |
TESBWordVector | Vector made up of Words. |
TFloatFunction | Function used for transformation of Extended floats |
TQStackRec | Used for QuickSort. |
TSingleFunction | Function used for transformation of Single floats |
Global Variables |
ESB2DigitCutOff | If ESB2DigitYr = edyCutOff - then ESB2DigitCutOff is used to decide which century the date lies in. |
ESB2DigitYr | Different ways in which 1 & 2 Digit Years are handled in Str2Date and in the Date Edit Components. |
ESBArrowsAsTab | When set to true then Down Arrow is treated as though it were Tab and Up Arrow as Shift-Tab when pressed in an ESBEdit Field. |
ESBBlankWhenZero | Signals whether a Zero should be displayed by a "blank" string. |
ESBCalcDispFont | Font used for Displaying the Calculator. |
ESBCalcHelpContext | |
ESBCalcMemory | Current Value of the Calculator Memory - all Calculators share this value. |
ESBCalcRadians | Current Value of the Calculator Radians Setting - all Calculators share this value. |
ESBCalDispFont | Font used for Displaying the Calendar. |
ESBCalHelpContext | |
ESBDegreeStr | |
ESBDoublePrecision | Default Precision when doing Double Comparisons. |
ESBEnterAsTab | When set to true then Enter is treated as though it were Tab when pressed in an ESBEdit Field. |
ESBESCAsUndo | When set to true then ESC is treated as though it were Ctrl-Z (Undo) when pressed in an ESBEdit Field. |
ESBIniFile | IniFile to use when ESBRegIniType = eriIniFile. |
ESBIniSection | IniFile Section to use when ESBRegIniType = eriIniFile |
ESBLoadHolidays | Controls whether the Holidays from the Holiday File are loaded. |
ESBMinuteStr | |
ESBNoTabStopOnReadOnly | When set to true, when a control is made ReadOnly then the TabStop is Set to False. |
ESBNullStr | ESBNullStr is the default value for the NullStr property of the various Edit Components. |
ESBNumPadCh | Character to use for Left Hand Padding of Numerics. |
ESBNumPosSign | Signals whether a '+' sign should be shown with positives. |
ESBPrecision | Default Precision when doing Floating Point Comparisons. |
ESBRaiseDateError | Signals whether an exception is raised when doing Date/Time Conversions. |
ESBRaiseFloatError | Signals whether an exception is raised when doing Float Conversions. |
ESBRaiseIPError | Signals whether an exception is raised when doing IP Address Conversions. |
ESBRegIniType | Identifies the type of "storage" to use for the various Global Settings of ESBPCS. |
ESBRegPath | Registry Path to use when ESBRegIniType = eriRegistry. |
ESBRegSection | Registry Section to use when ESBRegIniType = eriRegistry. |
ESBSciCalcHelpContext | |
ESBSecondStr | |
ESBSinglePrecision | Default Precision when doing Single Comparisons. |
ESBSmallCalcHelpContext | |
ESBTabStr | String to display for representing Tab, ie #9 |
ESBTolerance | Default Tolerance when doing Floating Point Operations. |
ESBUseChristianHolidays | When True Good Friday, Easter Sunday and Christmas Day are included as Non-Working Holidays. |
ESBUseEasterMonday | When True and ESBUseChristianHolidays is True, then Easter Monday is included as a Non-Working Holiday |
ESBUseEasterSaturday | When True and ESBUseChristianHolidays is True, then Easter Saturday is included as a Non-Working Holiday |
NonWorkingDays | Days of the week to consider as Non-Working - by default set to Saturday & Sunday. |
Sun_Parallax | Geocentric Parallax in relation to the Sun |
Sun_Refraction | Atmospheric Refraction in relation to the Sun |
WhiteSpaceSet | Set of Characters taken as White Space |
WordSepSet | Set of Characters that separate words. |
Global Constants |
AbsoluteZeroC | Absolute Zero in Celsius. |
AbsoluteZeroF | Absolute Zero in Fahrenheit. |
AppDirStr | String displayed to indicate the Application Directory |
AstroUnit | One Astronomical Unit in Metres. |
Atmosphere | Standard Atmospheric Pressure measured in Pascals. |
AtomicMassUnit | Atomic Mass Unit in Kilograms. |
Avogadro | Avogadro's Constant mol^-1. |
Boltzmann | Boltzmann's constant on joules per kelvin. |
Cbrt10 | Cube Root of 10. |
Cbrt100 | Cube Root of 100. |
Cbrt2 | Cube Root of 2. |
Cbrt3 | Cube Root of 3. |
CbrtPi | Cube Root of Pi. |
ComplexI | i (ie sqrt (-1)) as a Complex Number. |
ComplexUnity | 1 as a Complex Number. |
ComplexZero | Zero as a Complex Number. |
DaysPerFortnight | Days Per Fortnight |
DaysPerGregorianYear | |
DaysPerHr | Days Per Hour |
DaysPerJulianYear | |
DaysPerMin | Days Per Minute |
DaysPerSec | Days Per Second |
DaysPerSynodicMonth | Days per Synodic Month |
DaysPerTropicalYear | Days per Tropical Year |
DaysPerWeek | Days Per Week |
DefaultStr | String displayed to indicate the Default Directory & File |
ElectronMassUnit | Electron Mass Unit in Kilograms. |
ElemCharge | Elementary Charge in Coloumbs. |
ESBe | Natural Constant. |
ESBe2 | Square of Natural Constant. |
ESBePi | Natural Constant raised to Pi. |
ESBePiOn2 | Natural Constant raised to Pi/2. |
ESBePiOn4 | Natural Constant raised to Pi/4. |
ESBGamma | Gamma Constant. |
ESBPCSLanguage | |
ESBPCSVersion | Current Verion of ESBPCS |
ESBPCSVersionNo | |
ESBPi | Accurate Pi Constant. |
ESBStarSigns | Star Sign Descriptions |
Faraday | Faraday's Constant in Columbs/mol. |
FortnightsPerDay | Fortnights Per Day |
FourPiOn3 | Four Thirds of Pi. |
FractionUnity | 1 as a Reduced Fraction. |
FractionZero | Zero as a Reduced Fraction. |
GalacticAscension | North Galactic Pole Co-ordinates - Ascension - in Degrees |
GalacticAscNode | Ascending Node of Galatic Plane on Equator - in Degrees |
GalacticDeclination | North Galactic Pole Co-ordinates - Declination - in Degrees |
GravConst | Gravitational Constant in m^3/kg/s^2. |
Gravity | Standard Gravitional Acceleration in metres/second^2. |
GregorianStart | Stores the Date the Gregorian Calendar started on: 15 October 1582 |
HrsPerDay | Hours Per Day |
HrsPerMin | Hours Per Minute |
HrsPerSec | Hours Per Per Second |
HrsPerSiderealDay | Hours in a Sidereal Day (Mean Solar Time) - 23h56m04.091s |
InvCbrtPi | Inverse of Cube Root of Pi. |
InvPi | Inverse of Pi. |
InvSqrt2 | Inverse of Square Root of 2. |
InvSqrt3 | Inverse of Square Root of 3. |
InvSqrt5 | Inverse of Square Root of 5. |
InvSqrtPi | Inverse of Square Root of Pi. |
Josephson | Josephson's Constant in Hz/V. |
LightDay | One Light Days in Metres. |
LightHour | One Light Hour in Metres. |
LightMinute | One Light Minute in Metres. |
LightSecond | One Light Second in Metres. |
LightYear | One Light Year in Metres. |
Ln10 | Natural Log of 10. |
Ln2 | Natural Log of 2. |
LnPi | Natural Log of Pi. |
LnRt2Pi | Natural Log of the Square Root of (2 * Pi) |
Log10Base2 | Log to Base 2 of 10. |
Log2Base10 | Log to Base 10 of 2. |
Log3Base10 | Log to Base 10 of 3. |
LogEBase10 | Log to Base 10 of Natural Constant. |
LogPiBase10 | Log to Base 10 of Pi. |
MachOne | Speed of Sound in Dry Air in Metres per second. |
MaxCurrency | Largest Delphi Currency Value. |
MaxDouble | Largest Magnitude Double Available. |
MaxESBCurrency | |
MaxESBLongCurrency | |
MaxExtended | Largest Magnitude Extended Available. |
MaxSingle | Largest Magnitude Single Available. |
MinCurrency | Smallest Delphi Currency Value. |
MinDouble | Smallest Magnitude Double Available. |
MinESBCurrency | |
MinESBLongCurrency | |
MinExtended | Smallest Magnitude Extended Available. |
MinSingle | Smallest Magnitude Single Available. |
MinsPerDay | Minutes Per Day |
MinsPerHr | Minutes Per Hour |
MinsPerSec | Minutes Per Second |
NeutronMassUnit | Neutron Mass Unit in Kilograms. |
OneBecquerel | One Becquerel in Curies |
OneCalorie | One Calorie in Joules. |
OneDegree | One Degree in Radians. |
OneDTHour | Fraction of a TDateTime that represents One Hour. |
OneDTMillisecond | Fraction of a TDateTime that represents One Millisecond. |
OneDTMinute | Fraction of a TDateTime that represents One Minute. |
OneDTSecond | Fraction of a TDateTime that represents One Second. |
OneFoot | One Foot in Metres. |
OneFootPound | One Foot Pound in Joules. |
OneInch | One Inch in Metres. |
OneMile | One Mile in Metres. |
OneMinute | One Minute in Radians. |
OneNautMile | One Nautical Mile in Metres. |
OneOunce | One Ounce in Kilograms. |
OnePound | One Pound in Kilograms. |
OnePoundForce | One Pound Force in Newtons. |
OneRadian | One Radian in Degrees. |
OneSecond | One Second in Radians. |
OneYard | One Yard in Metres. |
Parsec | One Parsec in Metres. |
Pi2 | Square of Pi. |
PiOn2 | Half of Pi. |
PiOn3 | Third of Pi. |
PiOn4 | Quarter of Pi. |
PiToE | Pi raised to the Natural Constant. |
Planck | Planck's Constant in Joule seconds. |
ProtonMassUnit | Proton Mass Unit in Kilograms. |
RadiusOfEarth | |
Rydberg | Rydberg's Constant in 1/m. |
SecsPerDay | Seconds Per Day |
SecsPerHr | Seconds Per Hour |
SecsPerMin | Seconds Per Minute |
SpeedOfLight | Speed of Light in a Vacuum in Metres per second. |
Sqrt10 | Square Root of 10. |
Sqrt2 | Square Root of 2. |
Sqrt3 | Square Root of 3. |
Sqrt5 | Square Root of 5. |
SqrtPi | Square Root of Pi. |
Sun_SemiMajorAxis | Semi Major Axis of the Sun in Kilometres |
Sun_Theta0 | Angular Diameter of the Sun when Distance from the Sun = Semi Major Axis - in Degrees |
ThreePi | Three * Pi. |
ThreePiOn2 | Three Halves of Pi. |
TwoPi | Two * Pi. |
TwoToPower63 | 2^63. |
VK_0 | |
VK_1 | |
VK_2 | |
VK_3 | |
VK_4 | |
VK_5 | |
VK_6 | |
VK_7 | |
VK_8 | |
VK_9 | |
VK_A | |
VK_B | |
VK_BackSlash | BackSlash/Vertical Key. |
VK_C | |
VK_Comma | Comma/Less Than Key. |
VK_D | |
VK_E | |
VK_Equals | Equals/Plus Key. |
VK_F | |
VK_G | |
VK_H | |
VK_I | |
VK_J | |
VK_K | |
VK_L | |
VK_LeftBracket | Left Bracket/Brace Key. |
VK_M | |
VK_Minus | Minus/Underscore Key. |
VK_N | |
VK_O | |
VK_P | |
VK_Q | |
VK_Quote | Quote/Double Quote Key. |
VK_R | |
VK_RightBracket | Right Bracket/Brace Key. |
VK_S | |
VK_SemiColon | SemiColon/Colon Key. |
VK_Slash | Forward Slash/Question Mark Key. |
VK_Stop | Full Stop/Greater Than Key. |
VK_T | |
VK_Tilda | ` ~ Key in top left hand corner. |
VK_U | |
VK_V | |
VK_W | |
VK_X | |
VK_Y | |
VK_Z | |
WeeksPerDay | Weeks Per Day |
|