ExpandDelay Property
Description
Specifies the amount of time it takes for a Popup Menu to fully expand when there are Hidden Items in the menu.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property ExpandDelay() As Long
Remarks
The default value is 5000 milliseconds (5 seconds).
ExpandDelay is the amount of time it takes for a Popup Menu to fully expand when there are Hidden Items in 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 menu is displayed for the amount of seconds specified in ExpandDelay without clicking on the chevron, then 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.