BCGControlBar Library for .NET
HighlightNextButton Method (Toolbar)




Specifies the direction of the navigation. If true, the next button will be highlighted, otherwise, previous.
Specifies if the popup menu should be opened for a highlighted button.
Called by the framework to highlight the nearest ToolbarButton on the Toolbar when the user navigates through the ToolBar by keyboard. This function selects the nearest toolbar button which is not a separator, not hidden, visible and can get a focus.
Syntax
'Declaration
 
Public Overridable Sub HighlightNextButton( _
   ByVal forward As Boolean, _
   ByVal openPopup As Boolean _
) 
'Usage
 
Dim instance As Toolbar
Dim forward As Boolean
Dim openPopup As Boolean
 
instance.HighlightNextButton(forward, openPopup)
public virtual void HighlightNextButton( 
   bool forward,
   bool openPopup
)
public: virtual void HighlightNextButton( 
   bool forward,
   bool openPopup
) 
public:
virtual void HighlightNextButton( 
   bool forward,
   bool openPopup
) 

Parameters

forward
Specifies the direction of the navigation. If true, the next button will be highlighted, otherwise, previous.
openPopup
Specifies if the popup menu should be opened for a highlighted button.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Toolbar Class
Toolbar Members

Send Feedback