CtlMorph.MDA
(c) Ken Getz and Paul Litwin, 1994

 -- Change one control type into another on an Access 2.0 form

ctlMorph will allow you to change a control from one type to another type (from
a text box to list box, for example) maintaining as many properties as possible
along the way. Once you select a control (and its label, if it has one) and
fire it up, you can specify what control type you'd like to change the control
into, and it'll copy all the properties over that it can.

You'll find ctlMorph handy anytime you need to convert a control from one type
to another.You might use it, for example, after initially laying out a form
using the Form Wizard since the Form Wizard only creates text box and check box
controls.

To install ctlMorph, run Access' Add-In Manager, and choose the Add New option.
Tell it where it can find CTLMORPH.MDA, and it'll copy the file into your
Access subdirectory.

To customize the settings, choose Customize from the Add-In manager's main
screen. You'll be able to change settings that control

 - whether or not to change the control's name,
 - whether or not to display a warning before changing the control type
 - whether or not to allow the object type as a target type
 - the tag value to be used for this control type
 - the suggested control type to change to
 - placement of the tag (before or after the name)
 - inclusion of a space between the tag and the name
 - whether or not to use the control's default width and height

To use ctlMorph, either call it directly from the Fill|Add-Ins menu, or import
the macro glmcrMorph from CTLMORPH.MDA into your own application, and call that
macro from a toolbar or your autokeys macro.

LIMITATIONS:
 - Because of limitations in the way Access handles controls at runtime, you
 must select both the control you want to change and its label.  If you don't,
 ctlMorph will lose the label in the translation.
 - You can only work with one control (and its label) at a time.
 - Using ctlMorph will lose your selection on your form.  After running it,
 there will be no active control on your form.

If you have comments or suggestions, please forward them to Ken Getz (76137,
3650).

For more information, see the article about CTLMORPH in the August 1994 
issue of Smart Access (Pinnacle Publishing, 800-788-1900).

Version 2.01: Initial public release.
Version 2.02: 
  8/16/94 KNG
  Granted rights for members of the Users group, so
  anyone (even those not logged in as Admin) can use the 
  utility.
