Copyright: Copyright © Cyborg Software 1996


Contents
CyborgQA Help Contents

Properties	Methods	Events	Tasks

CyborgQA is a utility, designed to make creating slicker neater Delphi Applications easier. You drop one on any form , and it allows you access to properties of the many controls on the form, in a quick convenient way, which good as the old Object Inspector is, is still slow.

This component is shareware, which may be registered via Compuserve.

Any Comments most welcome

Boris Ingram, Cyborg Software

borising@iafrica.com

Compuserve : 100076, 3616

http://www.pcb.co.za/users/borising/cyborg.htm


About

This button shows the standard Cyborg Software About Dialog, including version information


Hints


Parentage


Positions


Tabs


Properties

   DataInfo

   Hints

   Parentage

   Positions

   Tabs


Methods

None Published


Events

None Published


Control Name

The name given to the control. You can edit this value.


Control Class

The Class name of the Control. You cannot edit this string.


Control Caption

This is the caption of the control, if it has such a property. Can be edited.


Control Hint

The hint for the Control. Editable


Text Button

This will save the contents of the window to a text file. For data displayed in grids, changing the grid column widths will affect the spacing of the Columns in the ASCII file.


OK Button

This button causes all changes made to be posted to the form


Cancel Button

The Cancel Button will close the Current Window without changing the form being edited.


Parent Outline

This Outline shows the parentage for all tcontrols and descendants that are owned by the form that the CyborgQA component is sitting on.


Expand Button

This Button cause the Outline to expand fully.


Collapse Button

The Collapse Button Causes the outline to Collapse to it's Root node.


Edit Button


Control Parent

The name and class of the twincontrol parent of the current control


Edit Control

The fields shown on the form correspond to the published properties of all tcontrols and their descendants. You can change any of these.


DataInfo


Control Positions

The 4 salient positions properties shared by all tcontrols. You can change of these, and set them together using the ReScaling form


Position Resort

The Combo allows you to choose from the 3 sorting options, which are :

Parent, then top, then left

Top then left

Left


Resort Button

Causes the control to be restored according to the selected sort order in the combo


Rescale


Control No

The Number of the control in the forms list.


Rescale Left

Checking the box and supplying a value will set the the Left property of all controls to the value.


Rescale Width

Checking the box and supplying a value will make controls the same width.


Rescale Ho Scale
Horizontal Scaling

The two values control how Left positions can be rescaled. The formula applied is ?:

new Left = (numerator div demoninator) * old Left

This is useful if the form size changes e.g. if the form is running on Super VGA, but is being designed on VGA, you would enter a denominator of 800 and a denominator of 600, and all controls would move slightly to the right.

The control sizes are not changed.


Rescale Top

Checking the box and supplying a value will set the the Top property of all controls to the value.


Rescale Height

Checking the check box and filling in a new height value will cause all controls to change height to the new value, if they can.


Rescale V Scale
Vertical Scaling

This controls scaling of the Top Property.

new Top = (numerator div demoninator) * old Top

Useful for scaling when media changes I used it to rescale all tQRlabels on a page that changed size from A4 (297mm) to Legal (14 inch = 356 mm) by setting numerator = 356 and denominator = 297. All controls shifted slightly down.


Tab Outline

This shows all controls, in Tab Order. You can drag controls to a new position to change the tab order. You may only drag controls to new positions with the same parent

Although you can drag NoteBook and TabbedNoteBook pages, this will not change their positions.


Registration

This version of CyborgQA is a limited Shareware version, in that it only processes the first 10 controls encountered, and doesn't handle database info. All other functions are fully functional. You may use, copy or distribute this version in any way you like.

A full version is available on registration, which is via Compuserve's GO SWREG shareware forum. The full version is registered as "CyborgQA Full Version" and the registration number is 10968. The Cost is US$ 35.00.

On Registration you get the following

Full Source Code. This removes the limit on controls displayed

The "DataInfo" property This shows tdatasets, data-aware controls and tfield objects on a form

It can handle both the QuickReport and InfoPower object families

If you have any comments, bug reports etc please contact me


Tasks

I use CyborgQa both during the life of the project, often to adjust Positions. I have sometimes lost controls - I once had essentially the same tQRBand 3 times on the same form, all aligned alTop, so I didn't realise that there were 3 copies there until I used the Parentage property.

It's also very useful at the end of a project, when the Tabs and Hints properties are handy for fast setting of those final touches.

The DataInfo property is good just to check that you are using correct field and data controls in your form.

Although designed to have a small footprint - all the brains are in the property editors, which are not linked into your project, the DFM files of these editors are linked into the project's RES file. So it is best not to leave instances of CyborgQA on your forms for your final compile. Delphi will automatically add the unit "CyborgQA" to your Uses clause if it saves a form which has an instances of this component dropped onto it.

So my plan has been to drop on a CyborgQA, then make changes. Then delete the component, then save the form. However, during development, it's presence has no affect, except for making the .EXE bigger.


Data Outline

This outline shows all tDatasets that exist on the form, with lots of useful info about each.

For tTables, displays Table Details (Name etc), Master Source, Fields list, all datasources, dataaware controls linked to source, by source or by field, indices and tfield objects declared.

For tQueries, it shows the SQL, the select clause - field list, criteria list,, table list, parameter list, datasources, controls and tfields.

For tStoredProcs, it shows the parameters and details of the proc.