TExHint: Component to give the user more information than with windows' hint.

Author:  Thomas Skarget, E-Mail: thomas.skarget@styria.com
Date:    March 2000
Version: 1.1


Usage:

Just drop down the component from the skt component panel and specify your own 
event handling during design-time. Don't forget to set the hint-property in the
form controls and to set the Form.ShowHint to true. Otherwise the TExHint-component
won't work. If you don't write an own eventhandler for OnNeedData the original
windows' hint appears. Note: if the user ever moves the mousecursor over the 
hint-window he must click the close-button to close the hint-window.


Short description of properties and events:

Properties:

Name		   | Datatype 		|  Description
-------------------+--------------------+------------------------------------------------
BackgroundColor:   | TColor		| Backgroundcolor of the hint-window.
CloseAfterMore:	   | Boolean		| CLose window after clicking the more-button.
CloseButtonHint:   | String		| Hint for the close-button.
DeltaShowX:        | Integer		| Horizontal distance between mouse-cursor and 
		   |			| hint-window's left border.
DeltaShowY: 	   | Integer		| Vertical distance between mouse-cursor and 
		   |			| hint-window's top border.
DescriptionWidth:  | Integer		| Width for the description-text in pixel.
		   |			| This value is only used if WordWrap ist true.
DetailHint:	   | String		| Hint for the detailed information.
DisplayTime: 	   | Cardinal		| Time in milliseconds which hint-window should
		   |			| be displayed.
KeyHint:	   | String		| Hint for the keyword.
MoreButtonExist:   | Boolean		| Show the more-button or not.
MoreButtonHint:    | String		| Hint for the more-button (>>).
Name:		   | TComponentName	| Component's name.
ShowHintOnHint:    | Boolean		| Show windows hints on controls in TExHint.
Tag:               | LongInt		| No use for this property.
TextColor:	   | TColor		| Textcolor of the hint-window.
WordWrap:	   | Boolean		| Enable crlf or not. If disabled only the 1st 
		   |			| line of the detail-stringlist will be added.


Events:

Name		   | Datatype		| Description
-------------------+--------------------+------------------------------------------------
OnClose		   | TNotifyEvent       | Appears if the hint-window is hidden.
OnMoreClick        | TMoreClickEvent	| Appears if the user clicks the more-button on
		   |			| the hint-window. This event provides also the
		   |			| displayed keyword. For example: you can jump
		   |			| into the help with the specified word.
OnNeedData	   | TNeedDataEvent	| Appears if the hint-window will be showed. In
		   |			| this procedure you must specify your detailed
		   |			| information according to the keyword. The
		   |			| keyword is the hint you specified for the 
		   |			| control during design-time. You will
		   |			| get the keyword and the detailed text as var
		   |			| TStringList in this function. For example:
		   |			| Pick the belonging text form your lookup table
		   |			| and put it into the detailed text.



Have much fun with this component and please mail, if you use this component and tell
me your impressions. For improvements or corrections please contact me too. Contact
also allowed in German.


