dbmcmp10.zip

Dwayne Mercredi's Freeware Component Collection
[email protected]
http://www.ee.ualberta.ca/~mercredi/


A group of three somewhat useful non-visual components.
All source code is included.


       TIdleAction Component

This component is for taking advantage of idle time in an application.
The idler unit sets up an event handler for the Application.OnIdle event
that iterates through all TIdleAction components in the project and calls
the OnTrigger event of each.
Ideal for those times when you need to do some
low impact, low priority background tasks such as polling a control's
state for speedbutton enabling or updating the keyboard state on
a status bar.


       TLabelWithLineBreaks Component

This component is exactly the TLabel component, except it has the ability
to insert newlines at design time.  Simply insert the '|' character anywhere
in the Caption property, and it is automatically converted to a newline by
the property editor.


       TCommonCommand Component

This component allows you to group the command components (TMenuItems,
TSpeedButtons, and TButtons) and manipulate them as a group.  It has a
design time double click editor that allows you to group the components
visually.  Once a component is added to the group, any change made to
one of the properties of the TCommonCommand is automatically passed
on to the contained component.  Currently implements Enabled, Checked,
and OnClick properties.  Useful for when multiple menu items and
speed buttons share the exact same set of properties and property
assignments (ie. SpeedButtonPaste, MainMenuPaste, PopupMenuPaste all
implement the same paste operation).