Remember, GenoTechs, Inc. is primarily a training and software development company. For all your training and software development needs, be sure to call us for the highest quality services.
This trial version of the GTSizer will run only when Delphi is running AND at least one of the units for a form containing the GTSizer Trial version should be open in the Editor. Then compile and run it from the Delphi IDE
or you may wish to minimize Delphi and run your executable from a directory.
This file and the help file will use the generic name GTSizer to refer to both the 16-bit GTSize16 and the 32-bit GTSize32 components unless a clear distinction is deemed necessary.
To enable the default properties of the GTSizer, all you need to do is drop it on your form. We do make some design assumptions, however. So, before you use the GTSizer, read our Design Time Recommendations section of the help file. There are optional properties that you may wish to set. For example, when our SameSize property is set to true, it ensures that your forms appear virtually the same at any resolution.
**NOTE: If you have a previous version of the GTSizer, delete
those files from your computer.**
INSTALLATION
The user-installable help and component files are a two step
process:
1) First, copy the directory named GTSizer from the floppy disk to the Delphi directory.
2) Install the files to the help system and the component palette.
INSTALLING THE HELP FILE
> Exit Delphi if it is running.
You may wish to make a backup of . . .\BIN\DELPHI.HDX
> Run the Help Installer application located in
. . .\HELP\TOOLS
Note: You can either launch the help installer from
within the . . .\Help\Tools Group (icon name:
HelpInst) or select run from the taskbar (or File
|Run in Windows 3.1 program manager).
> Select File | Open and select . . . \BIN\DELPHI.HDX
*Select Keywords | Add File (or click the + icon)
*Enter the path for . . .\GTSizer.KWF or browse, select the
path, and click OK
*Select File | Save.
*Exit HelpInst
*Add the following line to the Multihlp.ini and Winhelp.ini
files in your Windows directory:
GTSizer.hlp=C:\Delphi\GTSizer
(Note: Substitute the appropriate drive/directory if you did
not install the component into the C:\Delphi\GTSizer
directory.
INSTALLING TO THE COMPONENT PALETTE
**You may wish to make a backup copy of your component
library file before installing (Complib.dcl).**
> Launch Delphi. From its main menu, choose
Delphi 1: Options | Install Components
Delphi 2: Component | Install. . .
A dialog box will appear.
> Click the Add button. Another small dialog box will appear.
Use the Browse button to locate the GTSizer directory you
created. Choose GT16Reg.PAS (or GT32Reg.PAS) from the GTSizer
directory and click OK.
(The new search path should appear.)
> When the installation dialog reappears, click OK to recompile
Delphi's component library.
> The GTSizer controls will appear on the additional page of the
component palette with the hint name GTForm. The GTDBSizr will
appear on the data controls page of the component palette with the
hint name GTDBForm. GTForm and GTDBForm are the ClassNames for
the components marketed under the name GTSizer. The GTSizer
(GTForm) has a blue background and the GTDBSizr (GTDBForm) has
a white background.
If you wish to customize the component placement on the component palette, use the GTxxReg.PAS file to do so. Simply replace the name in the RegisterComponent statement to the desired palette page name.
The GTSizer components now have the same properties and features.
New properties and functionalities for both GTSizers are as follows:
*New Properties*
SAMESIZE:
With the SameSize property enabled, forms do not appear proportionate to the resolution; they appear to be approximately the same size, regardless of the runtime resolution or monitor size. If RTDISPLAYHEIGHT and RTDISPLAYWIDTH properties are set, SameSize uses those values.
RTDISPLAYHEIGHT:
Allows you to set a run time display height which is larger or smaller than your form's height at design time.
RTDISPLAYWIDTH:
Allows you to set a run time display width which is larger or smaller than your form's width at design time.
RTMAXIMUMHEIGHT:
Allows you to set a maximum height beyond which the user may not resize the form at run time.
RTMAXIMUMWIDTH:
Allows you to set a maximum width beyond which the user may not resize the form at run time.
RTMINIMUMHEIGHT:
Allows you to set a minimum height beyond which the user may not resize the form at run time.
RTMINIMUMWIDTH:
Allows you to set a minimum width beyond which the user may not resize the form at run time.
GTUPDATE:
Updates the equations and settings the GTSizer stores for your form. This is particularly helpful when you move controls after dropping the GTSizer on your form.
*Border Styles*
You are no longer required to have a bsSizeable border style. So, if you wish to retain the resolution independent features without allowing the user to resize the form use bsNone, bsDialog or another non-sizeable style.
*Ignore Font Sizing of Certain Controls*
You can use the tag property of individual controls to make your font static. The GTSizer will not resize the font if you set that control's tag number to 1. For example, assume you want to allow the user to see more columns and rows in a DBGrid. Set the DBGrid's tag number to 1. The font is static so that when the grid expands, the user can see more columns and rows.
If you use the tag property for any other purpose, that's fine. Just keep in mind that anytime you use the tag number 1 for a control the GTSizer will ignore sizing the font for that control, unless the Parentfont property for that control is also true and the Parent's tag is not 1.
*Labels*
Labels with right aligned text are supported.
*3rd party/custom controls*
Controls not part of the Borland Delphi VCLs can be recognized by the GTSizer. Use the GTDBSizr.Pas file provided to make the GTSizer recognize those controls. Instructions are in the form of comments in the PAS file.
*Parent Font*
With SameSize set to True you may also set parent font to True (assuming it is a scallable font) with no adverse impact on your font size.
*Changing Resolutions on the Fly*
We've added extra stability when changing the resolution on the fly (without first closing your application) so that your form will fight Windows to remain the same. However. GenoTechs recommends that users close the application before changing resolutions.
*Component Registration*
You now have the ability to determine where on the component palette you wish to register our components.
*Duplicate GTSizer Recognition*
If you inadvertently drop more than one GTSizer on your form, the GTSizer will be smart enough to recognize that this is the case and delete the old GTSizer from your form. All pre-existing event handlers will be transferred to the newly dropped GTSizer. This corrected an issue some users had when they had more than one GTSizer on a form and received a "list index out of bounds" error.
16 BIT VERSION ONLY
If you have used the 16-bit version of GTSizer for Delphi released
between January and July 1996, you will also notice the following changes:
*SizeBalancing*
SizeBalancing is automatically enabled. You can disable it with:
GTForm1.Sizebalancing := False;
*ShowModal*
Forms created using the ShowModal method are supported.
32-BIT VERSION ONLY
With our updated 32-bit version, the GTSize32 v 1.1, you'll notice:
*TPageControl*
TPageControl is supported.
ORDER INFORMATION
This trial version is complete--it comes with everything we ship with the GTSizer, except the user manual.
If you need assistance, please read the on-line help. Tech support is available only to licensed, registered users.
The GTSizer is US$99.95 (either edition) plus shipping and handling. Special pricing (limited time) for both the 32-bit and 16-bit together is US$159.90 until September 30, 1996.
Order directly from GenoTechs, Inc., 2737 West Southern Avenue, Suite 14, Tempe, Arizona, 85282, USA.
Call toll Free in US (800) GENOTEX (800-436-6839) or 602-438-8647.