*  Program...........: Resizable (Resize objects during Form's Resize event)
*  Author............: Vladimir Shevchenko (resize.vcx)
*  Project...........: My framework ;)
*  Created...........: 27/06/1997
*  Copyright.........: (Shareware) Vladimir Shevchenko, 1997
*
*  Revision history:
*  27/06/1997  - initial release, version 1.0
*  30/06/1997  - fixed bug in resizing Grid, version 1.01
*  07/07/1997  - added property lChangeFont which indicate whether or not
                 change Font size when Form is resized.
*  09/07/1997  - added support for Optiongroup
*  11/07/1997  - added support for Commandgroup
*  15/07/1997  - improved support for font resizing
               - added form example.scx
               - some bug fixed
*  24/07/1997  - switched to shareware, source code now available
               - now have version that compiled in VFP 3.0
*  28/07/1997  - fixed bug in Oleboundcontrol resizing
*  23/08/1997  - added an opportunity for excluding each individual object
                 from being resized or/and repositioned
                 (Thanks to Valerie Manderville for this idea and
                 implementation)
*  26/08/1997  - added listbox columns' resizing
*  28/08/1997  - fixed bug in resizing of nested pageframes
               - added support for Line class
*  07/09/1997  - changed resizing behavior in Textbox, Spinner and Combobox
                 classes. Their height resized only when the property
                 lChangeFont = .t.  I think that it is more consistently.
*  25/09/1997  - added support for resizing of multicolumn listboxes and
                 comboboxes
               - added more controls to example form
*  23/11/1997  - made some improvement to the class
*  15/03/1998  - Added support for Line object (Sorry, I forgot it)
                 added Line to the example form.
*  26/03/1998  - Changed Label's resizing. Now label goes to be resized only
                 when lChangefont property is set to .t.
                 Also, fixed bug with display resolution detection.
                 Thanks to Elyse Pomerantz for her suggestion.
*  06/05/1998  - Added AdjustContainer method. Now it's possible to resize
                 only a container with all nested object without resizing
                 whole form
*  08/05/1998  - Added the project files for the sake of convenience
                 Optionbutton was removed from Resize/Reposition list
                 Increased speed by using PEMSTATUS function instead of
                 TYPE()
*  12/05/1998  - fixed bug with resizing of objects that were added via Addobj
                 Now those objects can be adjusted automatically depends on
                 current Form's Width/Height. You may see the sample code in 
                 Activate/deactivate events of last page. Thanks goes to Elyse.

What's inside? (Neither an Intel nor a Pentium, of course ;)
Resize.vcx contains one class Resizable which is used to resize
form's objects during Resize event

How to use this:
It's very simple, just drag-n-drop this object to your form and add the follo-
wing code to Resize event of Form:

this.Resizable1.Adjustcontrols()

When you add the control to form at runtime, then you must call Reset method
of this class:

thisform.Resizable1.Reset()

If you want resize font size then set lChangeFont property to .t.
If you want exclude some controls on your form from resizing or/and
repositioning, then you should define two property in your base classes
called Noresize and NoReposition with .f. as default value.

Also, you might want to resize separate container without resizing whole form.
This can be achieved by calling AdjustContainer method and passing the reference
to that container. Remember, you shouldn't add Adjustcontainer call to Resize
event of your container or your form will become a mess. The sample of
AdjustContainer call can be found in example form.


How to obtain full source code:
If you've found this class useful for you, then you can obtain full source
code for small price such as 30 USD  and you will be able to use this in
any of your projects without the royalties to the author.
Also, you'll have free updates for 3 (three) month. To order full source
code just drop me line at adress below and I'll send to you further
directions.

Restrictions
You can't sold or give away the code of class to any other
person or third parties. Also, you must purchase a copy of this class for
each developer in your team/company who want to use this code.

How to reach the author:
It's more than simple, just drop me email at mindripper@iname.com. Any ideas,
suggestions and advices about how to improve this stuff will be greatly
appreciated

DISCLAIMER: THIS CLASS PROVIDED BY AUTHOR "AS IS" WITHOUT ANY KIND OF
WARRANTIES. AUTHOR DOESN'T TAKE ANY RESPONSIBILITIES FOR ANY DAMAGES OR
DATA LOSS. AFAIK, BY DESIGN, THIS CLASS DOESN'T FORMAT YOUR DRIVE AND HAVEN'T
ANY DESTRUCTIVE CODE. IT WAS TESTED THOROUGHLY ON MY OWN COMPUTER AND I HOPE
THAT IT SHALL WORK ON YOURS.
