CONTENTS
= Recent Updates
Delphi Components
hhHTMLColorDialog
hhALed Component
hhPathSelDialog
hhFindFile
hhRepeatButton
hhFileProps
hhAutoCombo
Avionics
hhProgressBar
hhCheckBox
RxCheckBox
CRC generator
hhTTFinfo


Howie's Freeware

Delphi Visual Components

INTRODUCTION

As an integral effort with my Delphi Applications, I have also created several Visual Components. The power of Delphi is in its access to a wide range of pre-created components in its Visual Component Library (VCL) . There are literally hundreds available on the Delphi Super Page (Australia) or Delphi Super Page (Poland). Here are some that I created, free for you to use and provide feedback on how they could be improved.


hhHTMLColorDialog Component (V1.01.0)
Here is the HTML Colour Dialog used in ColorSel, as a Visual Component.

Its main features are the display of the "pure" HTML colour swatch and the ability to select both foreground and background colours on the same dialog box in one operation - use left mouse button for background, right button for foreground (text). You see what you will get! It will even have a guess at nearest pure HTML colours when given impure inputs.

(Replaces HTMLColor by implementing a more consistent naming convention.)
Download HTMLcol.zip (13KB) (Delphi V3)

Back to Top of Page

hhALed Component (V1.10c)
This is a LED simulation Visual Component for Delphi Visual Component Libraries (VCLs). It contains 6 different Light Emitting Diode (LED) simulations with ON/OFF colour selection and blinking control.

LEDs may be selected to appear as though mounted directly into a panel with a conformal mount, or as mounted on a raised border.

Includes OnMouseEnter, OnMouseLeave, OnClick and OnTimer events so you can customise the performance. (Examples: change from steady to blink when the mouse is over the LED, behave like "flat" buttons until the mouse enters the LED region, or execute a specific function when clicked.)

The text file included shows how to install multiple copies of ALed at run-time rather than at design time. This is very handy, because you do not need to put in a large number of separate ALed components, and they can be treated as an array. The same process can be used for many other components. An application using 100 copies of ALed was a good example of this technique.
Download ALed110c.zip (11KB) (Delphi V2, V3, V5)

Back to Top of Page

hhPathSelDialog Component (V0.90)
An extended replacement for the built-in Delphi function SelectDirectory. Designed to provide a simpler Dialog where the user is only required to select or enter a path.
Uses the familiar dialog hhPathSelDialog1.Execute function call method.

Features
Better control over path selection
Includes an "UP Directory" button
Selected Path EditBox which can be edited
More logical dialog box layout
Directory Listbox with selectable columns
Files Listbox which may be hidden if not required
Splitter between the Listboxes allows reproportioning of the boxes
Path checking can be performed if required


This component is still under development. Your recommendation for changes would be most welcome.
Download PathSel.zip (8KB) (Delphi V3, V5)

Back to Top of Page

hhFindFile Component (V1.30)
An upgrade to Walter Dorawa's FindFile utility to search for files. Unfortunately, I have not been able to contact Walter to give him the credit for his work and detail the additions and improvements made over his version.
This visual component encapsulates the Delphi FindFirst/FindNext functions and extends them by providing a recursive search capability.

This visual component is used in my String Search utility.

Uses the familiar hhFindFile1.Execute function call method with matching files returned in a TStrings list.

Features
Allows multiple filters in a single execution
Recursive search through directories option
Alphabetic sorting of directories and files option
Complete path returned with each file
Strict ReadOnly check option
Allowed attributes definition
Can be aborted at any time
Generates event for each change of directory


This component is still under development. Your recommendation for changes would be most welcome.
Download FindFile.zip (9KB) (Delphi V3, V5)

Back to Top of Page

hhRepeatButton Component V1.10
This component is a derivative of SpeedButton with extensions to provide repetition of the "OnClick" event while the left mouse button remains depressed and the mouse is over the button.

Features
All properties and events of SpeedButton are retained
Repetition function can be disabled (then RepeatButton behaves like SpeedButton)
User-defined initial delay
User-defined repetition delay
Generates "OnClick" event at the initial delay time, then at each repetition delay
Provides "OnMouseEnter" and "OnMouseLeave" events
Click "Count" available.

This component is still under development. Your recommendation for changes would be most welcome.
Download RptBtn (7KB) (Delphi V3, V5)

Back to Top of Page

hhFileProps Component V1.10
This component reads the properties of a file and places them into a list of properties.
The following properties are available for use by the calling application:
FileName
MSDOSname
FilePath
FileAttr
FileCreated
FileModified
FileAccessed

Three functions are actually in the same component:
function GetFileProperties( myFileName ) ; get the properties as shown above
function ShowFileProperties( myFileName ) ;show these properties in a dialog box
function BytesConvert( value ) ;conditionally convert bytes to Kbytes/Mbytes

This component is still under development. Your recommendation for changes would be most welcome.

(Note: a change in this component means you will need to remove the V1.00 version from any application form, upgrade the component, then reinsert the V1.10 version into the form.
Download FileProps (11KB) (Delphi V3, V5)

Back to Top of Page

hhAutoCombo Component V1.00
hhAutoCombo extends the standard ComboBox visual component by adding properties to allow automatic text completion of the Edit box in the component. It is a simple extension, similar to other Delphi components achieving the same effect.
Although only tested on D5, it should be equally applicable to D3 and D4.

The following properties are added for use by the calling application:
AutoComplete
PreserveCase
(All other properties, methods and events of the standard ComboBox are retained.)

When hhAutoCombo is set to csDropDown and the AutoComplete property is set, then:
1. Any characters entered into the Edit box attempt to match the first instance of the same initial characters in the hhAutoCombo.Items list.
2. A match results in automatic completion with the completed portion highlighted.
3. If PreserveCase is set, the case as entered overrides the case in the Items list.
Download AutoCombo (4KB) (Delphi V5)

Back to Top of Page

Avionics Components V1.21
This is a suite of VCLs which allow a cockpit display to be created.
It consists of eight components. Each may be installed separately.
hhAvADI: Atitude Director Indicator - now with command bars
hhAvALT: Tape-format Altimeter
hhAvASI: Tape-format Air Speed Indicator
hhAvComp: Tape-format Compass - now with Course Deviation Indicator
hhAvGS: Tape or Meter Glide Slope Indicators
hhAvHSI: Horizontal Situation Indicator
hhAvSlip: Slip Indicator
hhAvVS: Tape-format Vertical Speed Indicator

For example, the hhAvADI VCL includes Attitude Indicator, Pips (to MIL-STD-2525) and Command Bars, while the hhAvHSI VCL includes Bearing and Heading Markers, and two Course Bars.
(Note: a bug causing HSI to fail is being addressed)
Download Avionics (93KB) (Delphi V5)

Back to Top of Page

hhProgressBar V1.40
This is a progress bar with a difference. Based on freeware ALProgressBar by Andrew Leigh (leigh@alphalink.com.au), it has the following features:
Up to 3 colours or a bitmap
User defined rate of change from one colour to the next
Variable position for midpoints
Show progress as an absolute value, percentage, or a user-defined caption
Prefix and suffix strings to progress
Extended bevel and border options
Increment setting to allow for stepped bitmaps, etc.
Download hhProgressBar (15KB) (Delphi V7)

Back to Top of Page

hhCheckBox V2.00
The standard CheckBox has little choice in its implementation. This one is based on freeware code from Peric (pericddn@ptt.yu). It has a range of coloured check marks, including ticks, crosses and balls. It also includes a check mark similar to the RxLib RxCheckListBox checkmark (but see below for a more consistent version).

Latest revision allows multiple glyphs (e.g. a drive bitmap - see its use in my StringSearch application) to be associated with a checkbox.
Download hhCheckBox (20KB) (Delphi V5)

Back to Top of Page

RxCheckBox V1.10
Have you ever wanted a CheckBox with similar appearance and behaviour to the RxLib RxCheckList Box?

Well, here it is!

This CheckBox is a cut-down version of hhCheckBox, specifically intended as a companion to the RxCheckListBox component. It only has the standard tick and the RxCheckListBox lime tick, rather than the wide range in hhCheckBox. The box size has also been reduced to be the same as those in RxCheckListBox. Properties and functionality have been deleted or modified and aligned to be as close to that of RxCheckListBox as possible.
Download RxCheckBox (17KB) (Delphi V5)

Back to Top of Page

hhCRC V1.0
This simple component generates a Cyclic Redundancy Code (CRC) syndrome for a stream of bytes. It has three built-in polynomials to perform the function:
CRC-16 for standard 16-bit CRC
CCITT for CCITT 16-bit CRC
CRC-32 for standard 32-bit CRC

Download hhCRC (11KB) (Delphi V5)

Back to Top of Page

hhTTFinfo V2.0
This simple component extracts information about a TrueType font. When given the filename of a TTF file, it returns a structure containing its details.
Read the source code for use

This VCL was used in my FontShow application in these pages.
Major changes, improvements and additions have been included in this release, including "fixing" some deviations in font definitions (e.g. Marlett) which have not been encoded to the standard so do not always show in applications or even WinXP.
Download hhTTFinfo (9KB) (Delphi V5+)

If you use any of this software, please send me an email with your comments.

Thanks!

Howard

Back to Top of Page
You can contact me at hharvey@picknowl.com.au
Edited with Arachnophilia..

Last Update Thursday, June 09, 2005
© Copyright 2001-2005 Howard Harvey