R&A Library 1.0 =============== The Set of Native Delphi Components for Borland Delphi. 100% Source Code. Last revision date Dec, 24, 1998. PLEASE FOLLOW THE INSTRUCTIONS PROVIDED IN THE INSTALLATION SECTION! TABLE OF CONTENTS ----------------- Overview History License Agreement Compatibility Installation Demonstration Programs Source Files Copyright Notes Overview -------- R&A Library contains a number of components, classes and routines for Borland Delphi with full source code. This library is compatible with Borland Delphi 2, 3, 4 and Borland C++ Builder 1, 3. Read Compatibility section for more information. This collection includes over 20 native Delphi components. R&A Library is a freeware product. Feel free to distribute the library as long as all files are unmodified and kept together. The authors disclaim all warranties as to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose. Use under your own responsibility, but comments (even critique) in English (or in Russian) are welcome. 1. Components: TRegAuto allows you to read and write virtually any component published property to an INI file or the system Registry with virtually no code. Works with 3rd party and your own custom controls as well. Don't be stuck with dozens of INI-Aware components, use TRegAuto and let it manage all that for you. Also allows to save and restore form size, position and window state. TRATreeView and TRAComboBox4Tree components work together and looks like Tree in Windows Explorer. When user select an item in TRATreeView, this item is showing in TRAComboBox4Tree. TRAImage can receive focus and processing keyboard events. TRAProgressForm is a "Progress" dialog with customizable caption and message label. When method Execute called, form will be displayed and OnShow events occured. You must write all specific code in this event and periodically update ProgressPosition property. TRADBTreeView - data-aware TreeView. TRADBLookupTreeView and TRADBLookupTreeViewCombo are special versions of TRADBTreeView component. Compatibility note: Delphi 2, 3, Builder 1, 3. Delphi 4 build 5.33 has wrong code in ComCtrls.pas at line 6042: if ParentNode = Node then Exit; , that disables TRADBTreeView Drag'n'Drop features. You can comment this line (and recompile ComCtrls.pas) and all will works Ok. TRASQLScript allows multiple SQL statements in one query. "Set term" and "Commit work" statements response. TRAEditor is "Delphi-IDE"-like editor. Single symbol can be displayed with it own font color, style, background color. Customizable keystroke mapping scheme. Undo. Bookmarks. Code completion. Gutter. None: Column blocks, Redo. TRAHint allows show custom hint at any time and place. TRAStatusBar can accept other controls. TRAScrollBar95 implements win 95 scrollbar feature - this is TScrollBar with Page property. TRAScrollBar - vertical scrollbar, looks like 3dMax scrollbar. TRAScrollMax work like 3DMax panels. Add few TRAScrollMaxBand on it and you can expand or collapse bands by click at band caption button. If height of all bands is greather than TRAScrollMax height, scrolling feature will on and you can scroll TRAScrollMax by drag it at any point. TRACaptionButton jumps to the caption of the form. TRAColorButton is a TBitBtn descendant, having color and OnPaint event. TRANoFrameButton is inherited from TSpeedButton with color and (optional) without border. TRADBRadioGroupS is a TDBRadioGroup descendant with Beveled property. If Beveled set to true, it looks like standard TDBRadioGroup. If Beveled set to false, frame not painted. TRADBTextS is a TDBText descendant with published Layot property (In Delphi 3 Borland add this property to TCustomLabel, but forget publish Layot in it descendants). Compatibility note: Delphi 3, 4, Builder 3. TRACombo - button with drop down menu - work like combobox, but looks differently. TRADBMove - data-aware component for batch moving databases (few tables with dependencies). It's automatically fixups links beetween tables. You must define tables names and references. 2. RAInter Components: RAInter is a small pascal-like language interpreter. Current version of RAInter includes only some string-handling routines and ole automation support. But it allows to create plug-in modules, such as database routines and classes, files management and any other, so you can write and use them. Compatibility note: Delphi 3, 4. Not compatible with Builder any versions. TRAIProgram - Component, which implements easy interface to RAInter classes. TRAIField - Calculated db field with ProgramSource property. It must contain any valid RAInter program  and can be changed at run-time. In RAInter program any TDataSet and these fields can be used. To add TRAIField, select any TDataSet in form, double clicks and choose "Add RAIField" from field editor popup menu. 3. Delphi ide tools: Zoom - With Zoom you can maximize and restore edit window by pressing "Alt+Z" key. Compatibility: Delphi 3, 4, Builder 3 TRAIntegerProperty - Property editor for all integer properties. It based on RAInter and use it features. When editor is installed you can type in Object Inspector expressions for all integer properties, such as '2+2' and expression will be calculated and replaced with it result. For example, for Button1.Width property valid expressions are '100+10', 'Width+20', 'Label1.Left + Label1.Width'. If multiple components are selected, expression evaluates for each of them. For example, if you select a few components and type for width property string 'Width + 10', widths of all selected components will be increased to 10 pixels. Compatibility: Delphi 3, 4. 4. Units that provide functions and classes to work with databases, images, strings, files, INI-files. 5. A couple of simple demo applications. 6. There are no help files for R&A Library now. Sorry. History ------- RALib 1.00 (Dec 1998). Initial release available on internet. License Agreement ----------------- Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies and that both the above copyright notice and this permission notice appear in supporting documentation, and that the name of R&A Library authors not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. This software is made available "as is", and R&A LIBRARY AUTHORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN NO EVENT SHALL AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. You can find full text of R&A Library Software License agreement in the file LICENSE.TXT. Compatibility ------------- This version of R&A Library is writen and full tested with Borland Delphi 3 Client/Server Edition. R&A Library was some tested on Borland Delphi 2 Developer Edition, Borland Delphi 4 Client/Server Edition, Borland C++ Builder 1.0 Client/Server Edition and Borland C++ Builder 3.0 Client/Server Edition. R&A Library is not tested properly with this products. Use at your own risk. Installation ------------ Unzip ralib.zip. Before installing R&A Library components into Delphi, check out RA.INC file located in RALIB\LIB subdirectory. This file is included in all R&A Library units and contains conditional defines that affects compilation. You can change some of these defines or specify global compiler options there. 1. Delphi 3.x: Copy all files from RALIB\RESOURCE\RUSSIAN (russian resources) or RALIB\RESOURCE\ENGLISH (english resources) to RALIB\LIB directory. Use "File\Open..." menu item of Delphi IDE to open consistently R&A design-time packages RACTRL30.DPK (MUST be first), RADB30.DPK and RAINTER30.DPK. In "Package.." window click "Install" button to register R&A Library components on the "R&A Controls" and "R&A DB" pages accordingly. TIP: Move all PAS-files from RALIB\LIB folder into RALIB\SOURCE. 2. Delphi 4: Copy all files from RALIB\RESOURCE\RUSSIAN (russian resources) or RALIB\RESOURCE\ENGLISH (english resources) to RALIB\LIB directory. Use "File\Open..." menu item of Delphi IDE to open consistently R&A design-time packages RACTRL40.DPK (MUST be first), RADB40.DPK and RAINTER40.DPK. In "Package.." window click "Install" button to register R&A Library components on the "R&A Controls" and "R&A DB" pages accordingly. TIP: Move all PAS-files from RALIB\LIB folder into RALIB\SOURCE. 3. C++ Builder 3: Copy all files from RALIB\RESOURCE\RUSSIAN (russian resources) or RALIB\RESOURCE\ENGLISH (english resources) to RALIB\LIB directory. Use "File\Open..." menu item of Delphi IDE to open consistently R&A design-time packages RACTRL35.BPK (MUST be first) and RADB35.BPK. Compile packages. Use the "Install Packages..." item on Builder's "Component" menu to display "Packages" dialog box. Click "Add..." button and choose RACTRL35.BPL and RADB35.BPL. This will be register R&A Library components on the "R&A Controls" and "R&A DB" pages accordingly. TIP: Move all PAS-files from RALIB\LIB folder into RALIB\SOURCE. 4. Delphi 2.x and C++ Builder 1: Use the "Install..." item on Delphi's "Component" menu to add the RACtlReg.PAS and RADBReg.PAS units to the component library. These units registers all R&A Library components on the "R&A Controls" and "R&A DB" pages accordingly. TIP: Move all PAS-files from RALIB\LIB folder into RALIB\SOURCE. Demonstration Programs ---------------------- Demos can be found in RALIB\DEMO folder. All demos, except RAInter, are compatible with all declared versions. Demos, placed in RAINTER folder can be compiled only under Delphi 3 and 4. Source Files ------------ All sources (100%) of R&A Library are available in RALIB\LIB or RALIB\SOURCE directories. All language specific string constants used in R&A Library are collected in RAConst.pas file. English and russian versions of this files are available in RALIB\RESOURCE directory. Copyright Notes --------------- Most of the modules in our library are written by us. We have to make a note of units based on sources of other authors. Unit RADBLookupTreeView is based on original Delphi VCL units DBLOOKUP, DBCTRLS. Unit RAButtons has big code portion from Delphi VCL unit Buttons. "Readme.txt" and "license.txt" files is based on RX Library's files. Authors: Andrey Prigunkov (blacknbs@chat.ru) Roman Tkachev (email not available) New Bank Systems. Stavropol, Russia.