|
|
|
Hierarchy
TOrganicShapeButton inherits from TOrganicShapeControl.
History
(changes since last version)
- New property - WordWrap - which causes caption to word-wrap
- New property - Margin - left and Right margin of caption in
pixels
- Bug fix - saveSkin and loadSkin methods now accept
an absolute path as argument
Additional
Properties:
- Mask : TBitmap
the bitmap mask is used to shape the button. This bitmap is also
used to paint the button in the normal state. Each time you change this
bitmap the shape is recalculated. Also, the button's width and height
are changed to the Mask's width and height.
- OverBmp : TBitmap
bitmap is used to paint the button when the mouse is over it.
- PressedBmp : TBitmap
bitmap is used to paint the button when the button is pressed.
- InvisibleColor : TColor
color treated as transparent to shape
the button. clWhite is the default value.
- WordWrap : Boolean
word-wrap property for caption.
- Margin : Integer
left and right margin for caption in pixels.
Additional
Events:
- OnMouseEnter : TNotifyEvent
event fired when the mouse pointer
enters button's boundaries.
- OnMouseLeave : TNotifyEvent
event fired when the mouse pointer
leaves button's boundaries.
Additional
Methods:
- Procedure saveSkin (folder: string); override
automatically
saves all graphical information to a folder including component coordinates.
It's an easy way to implement skins.
- Procedure loadSkin (folder: string); override
automatically
retrieves all graphical information from a folder including component
coordinates. It's an easy way to implement skins.
Installation:
- Unzip all files to a directory of your choice. Be sure to preserve
directory structure and to add this path to your Delphi Library Path.
- Install package delphi4\organicShape.dpk or delphi3\organicShape.dpk.
- Open demos folder and run some examples.
|