BCGControlBar Library for .NET
RemoveButtonByID Method




An identifier of the buttons to remove.

Removes all buttons from the toolbar which have a specified identifier.

Syntax
'Declaration
 
Public Overridable Function RemoveButtonByID( _
   ByVal buttonID As Integer _
) As Boolean
'Usage
 
Dim instance As Toolbar
Dim buttonID As Integer
Dim value As Boolean
 
value = instance.RemoveButtonByID(buttonID)
public virtual bool RemoveButtonByID( 
   int buttonID
)
public: virtual bool RemoveButtonByID( 
   int buttonID
) 
public:
virtual bool RemoveButtonByID( 
   int buttonID
) 

Parameters

buttonID
An identifier of the buttons to remove.
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