mh-nexus
Articles Programs Components

 

About Contact Forum

Components

Unicode SynEdit

A Unicode version of SynEdit, which will become the official version.

TNT Unicode Controls with Unicode exceptions

An extension of TNT Unicode Controls that supports Unicode messages in exceptions.

Misc component package (discontinued)

Version: 1.0.0.0 (May 14, 2003)
Delphi 3-7
Freeware
Download misccomps.zip (34 KB)

Note: TFuncParser component is not included at the moment. I changed the internals and I am developping a mini-assembler for greater flexibility. Before, I used fixed OpCodes where I only replaced or added some numbers to get the correct asm-command.
As I don't have the old code anymore :-(, you'll have to wait until I finished the mini-assembler.
However this will also have a great benefit as you will then be able to easily define new functions from outside the component.

Package contains the following components:

TDropFiles

Shurely you often have to process files dragged from the Explorer and dropped on any of your components.
Because it is anoying to always write over and over again the same message-handling routines I made this small component.
Simply assign to the "Target"-property any TWindowControl-descendant. When files are dropped on that target the OnDropFiles-event will be fired.
- Names of the dropped files are accessible through the StringList "Files".
- With "ResolveLinks" set to True .lnk-filenames (= links) are replaced with the linktarget-filename.
If you are interested in advanced Drag&Drop (accept URLs, COM-Drag&Drop, accept only special file types, ...) look for the free Drag and Drop Component Suite from Angus Johnson & Anders Melander.

THotLink

Uses a label to display an underlined text in the color of Internet Explorer registry settings.
You can open a link in a window of your standard browser(Mozilla, Internet Explorer, Opera, ...) either Maximized, Normal or Minimized.
Note: you should always add "http://" in front of your URL.

If you want to open an e-mail-program instead, use "mailto:somebody@somewhere.org".

TNumEdit(not included yet)

If your program often needs number-inputs, a component that avoids validating numbers can be usefull.
You can enter numbers in hexadecimal, decimal, octal, binary or float.
- Characters that do not fit in the number-format are suppressed.
- Bound-Checking is done automatically(you can choose to truncate or to round down to the limit) as well as converting from one format to another.
- Moreover you can add leading zeros and align it as a number(i.e. on the right).
- There are two different outputs, one as IntValue and the other as FloatValue.

TPositionRestore

This component can save the position and size of the form it is dropped on to registry.
It saves maximized and normal position and size information to correctly restore if a window was maximized when closed.
You can customize the registry-path that is used to save position-data.

TPinner

A Speedbutton-descendant that can pin a form to screen. If it is down the owning form stays on top, if it's raised the form behaves normal.
Does not use FormStyle property to avoid flickering.