Excalibur Software RainbowButton 1.5
SetShape
Sub SetShape(New_Shape As RainButtonShapes)
Description
Assigns a predefined shape to the button, or returns
the button to its rectangular shape.
Parameters:
- New_Shape - The built-in shape that the button
should take on. Allowed values for this parameter
are:
- bsRect - A normal rectangle.
- bsEllipse - An ellipse that is stretched
to fit the button's rectangle.
- bsUpTriangle - A triangle that points upward.
- bsDownTriangle - A triangle that points downward.
- bsRoundRect - A rectangle with rounded corners.
Remarks
Calling this method clears any previous region assigned to
the control, including any custom region provided by the
SetRegion method.
See Also
SetRegion method