Imports Infragistics.Win.UltraWinToolbars Private Sub TextBox1_MouseUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseUp ' If the user selected text with the mouse, show the mini toolbar ' at an offset from the cursor location If (Me.TextBox1.SelectedText.Length > 0) Then Me.UltraToolbarsManager1.MiniToolbar.Show() End If End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinToolbars; private void textBox1_MouseUp( object sender, MouseEventArgs e ) { // If the user selected text with the mouse, show the mini toolbar // at an offset from the cursor location if ( this.textBox1.SelectedText.Length > 0 ) this.ultraToolbarsManager1.MiniToolbar.Show(); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2