The ToolBar control is recreated when you set the properties of the button on the ToolBar at runtime (820641)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSYou add a button to the ToolBar control on a Microsoft Windows form, and then you set the Style property of the button to DropDownButton. If you set any of the following properties of the button on the ToolBar at runtime, the ToolBar control is re-created:
- ImageIndex
- Text
- Visible
- Style
Note There may be some flickering as the toolbar is recreated at runtime. STATUS This
behavior is by design.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 2/2/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbButton kbCtrlCreate kbProperties kbToolbar kbCtrl kbControl kbprb KB820641 kbAudDeveloper |
---|
|