Text in ToolBarTool
-
- In need of some credit
- Posts: 1
- Joined: Thu Feb 21, 2019 6:23 pm
Text in ToolBarTool
Is there a way to add text to a ToolBarTool so it appears right next to the Bitmap loaded? Specifically, I am trying to duplicate the SWF functionality of the System.Windows.Forms.ToolBarButton.Text property (which displays text next to the bitmap)
Re: Text in ToolBarTool
I don't know if wx.NET exposes this functionality, but in the C++ version you just add the wxTB_HORZ_TEXT flag when creating the toolbar. This means you can only enable if for the whole toolbar, not individual tools.
Use the source, Luke!