Unit CmpNames

+----------------------------------------------------------------------------+ | İ İ | | İİ İ İ İ | | İİİ İ İ İ | | İİ İ İ İ | | İ İİ İ İ | | İ İ İİİ İİ İ | | İİ İ İ İİİİİİİİİİ İ | | İ İİ İİ İİİİİİİİİİİİİİİ | | İ İİİ İİİİİİ İİİ İ İİİİİİİİ | | İ İİ İİİİİİİİİİİİ İ İİİİİİİİİİ Copyright İ 1996-1997 by: | | İ İİİİİİ İİİİİİİİİİİ İ İİİİİ İİ | | İ İİİİİİİ İİİİİ İİİİ İİ İİ İ WHITE ANTS SYSTEMHOUSE BV | | İ İİİİİİİ İİİ İİİ İİ İ İİİİ Geleen 12 | | İ İİİİİİİ İ İİ İİİ İ 8032 GB Zwolle | | İİİİİİ İ İ İ Netherlands | | İİİ İİİİİ İ İİ İ İ | | İİ İ İ İİİ İ Tel. +31 38 453 86 31 | | İ İ İ Fax. +31 38 453 41 22 | | İ İ İİ | | İ İ İİ www.whiteants.com | | İİ İ İ İ support@whiteants.com | | İ | +----------------------------------------------------------------------------+ file : CmpNames version : 1.01 comment : date : 14-02-1997 time : 13:57:59 author : G.Beuze, R.Post compiler : Delphi 1.0 +----------------------------------------------------------------------------+ | DISCLAIMER: | | THIS SOURCE IS FREEWARE. YOU ARE ALLOWED TO USE IT IN YOUR OWN PROJECTS | | WITHOUT ANY RESTRICTIONS, BUT YOU ARE NOT ALLOWED TO SELL IT IN ANY WAY. | | THERE IS NO WARRANTY AT ALL - YOU USE IT ON YOUR OWN RISC. WHITE ANTS DOES | | NOT ASSUME ANY RESPONSIBILITY FOR ANY DAMAGE OR ANY LOOSE OF TIME OR MONEY | | DUE THE USE OF ANY PART OF THIS SOURCE CODE. | +----------------------------------------------------------------------------+ Description: This unit contains the TRenamer class which is used to apply naming convention to components dropped on a form during design time. TRenamer uses the classes TNameRule and TNameRuleList which are also declared in this unit. Although this unit is only active when installed in the component library it is not visible in the VCL since there are no components registered from within this unit. The name rules are read from the file NAMERULE.INI which should be placed in the COMPLIB.DCL directory. A log file NAMERULE.LOG is written to the same directory to inform you of recognized rules, the default rule and components to which they apply. The idea of applying naming conventions and some basic mechanisms were taken from Ray Lischners book "Secrets of Delhi 2.0". We at White Ants basically added the designer wrapper interface and the ini-files. Caution: - Do not instantiate a TRenamer class yourself by calling TRenamer.Create. - TRenamer grabs the Delphi executable's Screen.OnActiveFormChange. - TRenamer interferes with delphi's Form designer. Be cautions to install this unit if you have any other units installed in the VCL which also interact with or are depending on Delphi's FormDesigner. You''ll get a warning if this unit detects such an error. This should normally not be the case, at White Ants we enjoy working (troublefree) using this unit.

Classes

Functions

CheckRule - MMWIN:ENDEXPAND
Register - Some reserved words (not an extensive list, see Delphi's language guides

Types

Constants

Variables


Functions


function CheckRule(const Rule: string): Integer;

MMWIN:ENDEXPAND

procedure Register;

Some reserved words (not an extensive list, see Delphi's language guides

Types


Constants


Variables