Page 1 of 1

Text in ToolBarTool

Posted: Thu Feb 21, 2019 6:32 pm
by leemccarthyn
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

Posted: Thu Feb 21, 2019 6:47 pm
by doublemax
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.