Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
How to select all text in ToolBar TextBox?
posted

I thought I had figured it out, but I didn't. How can you select the text (I.E. so it shows highlighted) of ToolBar Text box? I see no easy way, or any way for that matter.

 

  • 725
    Suggested Answer
    posted

    If you cast the tool to a TextBoxTool, you can access properties related to the selection of text such as SelectedText, SelectionStart, SelectionLength

    CType(Me.UltraToolbarsManager.Tools("MyToolKey"),Infragistics.Win.UltraWinToolbars.TextBoxTool)