TMlLikeMenuDlg
Makes a form behave like a menu: it closes as soon as the user clicks outside it.
Notes
- Use it to turn an ordinary form into a dropdown panel or a custom popup menu.
- With
AnyClickCancelon, any click closes it; clicking outside also firesOnMouseClickOutside.
Properties 2
| Name | Type | Default | Description |
|---|---|---|---|
About | TMlAboutInfo | — | A design-time property: double-clicking it in the Object Inspector opens the MLSkin about box with the component version. It has no effect at run time and is not stored in the .dfm. |
AnyClickCancel | Boolean | False | Closes the form on any click; with it off only clicks outside the form close it. |
Events 1
| Name | Type | Default | Description |
|---|---|---|---|
OnMouseClickOutside | TNotifyEvent | — | Fires when the user clicks outside the form, so you can act before it closes. |
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.