ExpandHoverDelay Property
Description
Specifies the amount of time it takes for a Popup Menu to fully expand when there are Hidden Items in the menu and the mouse cursor is "hovering" over the expand button chevron at the bottom of the menu.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property ExpandHoverDelay() As Long
Remarks
The default value is 900 milliseconds (just under 1 second).
ExpandHoverDelay is the amount of time it takes for a Popup Menu to fully expand when there are Hidden Items in the menu and the mouse cursor is "hovering" over the expand button chevron at the bottom of the menu. There will be a small chevron at the bottom of the menu that indicates that there are more items not visible. If the mouse cursor is hovering over the chevron and it has not been clicked, then the menu will display in the amount of time specified in ExpandHoverDelay, after which the popup menu will fully expand.
Example
CommandBars.Options.AlwaysShowFullMenus = False
CommandBars.Options.AddHiddenCommand ID_FILE_NEW
CommandBars.Options.AddHiddenCommand ID_FILE_OPEN
CommandBars.Options.AddHiddenCommand ID_HELP_ABOUT
CommandBars.Options.AddHiddenCommand ID_EDIT_CUT
CommandBars.Options.AddHiddenCommand ID_FILE_PRINT
CommandBars.Options.ExpandDelay = 1000
CommandBars.Options.ExpandHoverDelay = 500
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.