The document discusses the Toolbar control in Microsoft Visual Basic. It provides details on:
1) The properties and functionality of the Toolbar control like allowing customization, showing tooltips, and using ImageLists.
2) The different button styles available in the Toolbar control like checkboxes, groups, and dropdowns.
3) An example code snippet that uses the Button.Key property within a Select Case statement to specify different actions when buttons are clicked on the Toolbar.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
57 views3 pages
VB Lab 14.2 (Hebrew)
The document discusses the Toolbar control in Microsoft Visual Basic. It provides details on:
1) The properties and functionality of the Toolbar control like allowing customization, showing tooltips, and using ImageLists.
2) The different button styles available in the Toolbar control like checkboxes, groups, and dropdowns.
3) An example code snippet that uses the Button.Key property within a Select Case statement to specify different actions when buttons are clicked on the Toolbar.
Visual Basic 3 Page :t n:v ux:~ |:nu msdn : Private Sub tbrExample_ButtonClick(ByVal Button As Button) ' Use the Key property with the SelectCase statement to specify an action.
Select Case Button.Key Case Is = "open" ' Open file. MsgBox "Add code to open file here!" Case Is = "save" ' Save file. MsgBox "Add code to save file here!" End Select End Sub