|AR Gradient ActiveX Control 1.03
This is just
another gradient ActiveX control, with a few features that I have
never found in other gradient controls, like the ability of
acting as a title bar and moving the form in which it is placed,
supporting transparent controls without problems or being able to
make the gradient between any two colors.
1.01 08.03.98: Fixed a problem that made the control not
repaint itself properly after reading its properties.
1.02 25.04.98: Fixed a bug that made the control not
refresh itself properly after changing properties. Also
added the 'Refresh' method.
1.03 30.05.98: There was a major problem with the
previous version of this control that finally I have been
able to solve. This problem was as follows: if you place
this control over a form and set its MoveForm property to
True, dragging the control will move the form. But if you
put a label over the gradient, dragging this label will
not move the form, which is not the correct behaviour
that it should have. Now, you can put a label (or other
objects) over it and dragging these object will also move
the form on which the control is placed when the MoveForm
property of the gradient is set to True.
NOTE: After version 1.03, the control is not compatible
with the previous versions (I keep having these problems with
Visual Basic, that seem not to be solved after SP3). Therefore,
if you want to use it in programs in which you were already using
any of the previous versions, you will have to compile the
program again, against this last version. You will also have to
introduce in the registry of your computer the information in the
REG file, even if you already did this for any of the previous
versions. If you don't do this you will not be able to use the
control at design-time.
- Align. With
this property you can align the control to the top,
bottom, left or right part of the form in which it is
None or FixedSingle.
Starting color for the gradient.
Ending color for the gradient (Spanish).
When set to true, the control will act as a title bar, so
you can move the form in which the control is placed.
You have four options: TopBottom, LeftRight, BottomTop
text that will be showed when the pointer stays over the
Use this method to refresh the gradient, although you
shouldn't need it.
Also you can
place other controls over this one (this control can act as a
frame control). This is very useful when you want to put labels
(including transparent ones) over it.
© Alvaro Redondo, 1998. All Rights Reserved.