TMlSkinTips
A tip bar: a callout box with a pointer, typically used for guidance or validation messages.
Notes
TipsDirectionsets where the pointer goes:hdTop,hdBottomorhdCustomfor a position you choose.PauseTimeis how long it stays before disappearing;CloseButtonVisibleshows or hides the close button.- Colors and fonts come from
TipsColorandTipsFont, withTitleFontfor the title.
Example
From the demo MlSkin.Demo.提示条(Tips).v3.0 (.dfm form file)
object MlSkinTips1: TMlSkinTips
TipsColor = 11596287
FrameColor = 700646
TipsFont.Charset = DEFAULT_CHARSET
TipsFont.Color = 28146
TipsFont.Height = -12
TipsFont.Name = 'Tahoma'
TipsFont.Style = []
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = 5326307
TitleFont.Height = -13
TitleFont.Name = 'Tahoma'
TitleFont.Style = [fsBold]
Left = 72
Top = 32
end
Properties 9
| Name | Type | Default | Description |
|---|---|---|---|
AlignmentHorizontal | TAlignment | taLeftJustify | Horizontal text alignment: left, centred or right. |
AlignmentVertical | TVerticalAlignment | taAlignTop | Vertical text alignment: top, centred or bottom. |
TipsDirection | TTipsDirection | hdTop | Direction of the callout pointer: hdTop, hdBottom, or hdCustom for a position you set. |
TipsColor | TColor | — | Background color of the tip box. |
FrameColor | TColor | — | Border color. |
TipsFont | TFont | — | Font of the tip text. |
TitleFont | TFont | — | Font of the tip title. |
PauseTime | Integer | 3500 | How long the tip stays before disappearing, in milliseconds. |
CloseButtonVisible | Boolean | True | Whether a close button is shown on the tip box. |
Only the properties and events MLSkin adds are listed here. Standard VCL properties such as Align, Anchors, Font and OnClick are available too and behave exactly as on the stock controls.
Offline helpA PDF / CHM version is available for offline reading.