TTMSFNCAutoPopupMenuTimer Class
Timer that tracks mouse hover position in an open menu and automatically opens a sub-menu after the configured delay elapses without movement.
API unit family: TMSFNCPopupMenu
Inherits from: TTimer
Syntax
TTMSFNCAutoPopupMenuTimer = class(TTimer)
Properties
| Name | Description |
|---|---|
| Delay | Dwell time in milliseconds before the sub-menu auto-opens after the mouse stops over an item. Default is 400. |
| OldItem | The item control the mouse was over when the timer was last started; used to detect whether the cursor has moved to a new item. |
Methods
| Name | Description |
|---|---|
| Start | Activates the timer and begins monitoring hover dwell time to trigger sub-menu expansion. |
| Stop | Deactivates the timer and cancels any pending sub-menu auto-open. |