This project has moved and is read-only. For the latest updates, please go here.
1

Closed

Auto-select all on IP Textbox...

description

If adding the following PMUs a user would typically use the mouse to select and change the last octet. Since the mouse click fires the GotFocus method, which fires the SelectAll() method, the user can’t perform this action.
 
IP Address:
167.161.0.1
167.161.0.2
167.161.0.3
167.161.0.4
167.161.0.5
167.161.0.6
167.161.0.7
 
File:
PMUConnectionTester.vb
 
Before:
 
Private Sub TextBox_MouseClick(ByVal sender As Object, ByVal e As MouseEventArgs) Handles _
    TextBoxDeviceID.MouseClick, TextBoxFileCaptureName.MouseClick, TextBoxFileFrameRate.MouseClick, _
    TextBoxSerialDataBits.MouseClick, TextBoxTcpHostIP.MouseClick, TextBoxTcpPort.MouseClick, _
    TextBoxUdpHostIP.MouseClick, TextBoxUdpLocalPort.MouseClick, TextBoxUdpRemotePort.MouseClick
 
    TextBox_GotFocus(sender, e)
 
End Sub
 
After:
 
'Private Sub TextBox_MouseClick(ByVal sender As Object, ByVal e As MouseEventArgs) Handles _
'    TextBoxDeviceID.MouseClick, TextBoxFileCaptureName.MouseClick, TextBoxFileFrameRate.MouseClick, _
'    TextBoxSerialDataBits.MouseClick, TextBoxTcpHostIP.MouseClick, TextBoxTcpPort.MouseClick, _
'    TextBoxUdpHostIP.MouseClick, TextBoxUdpLocalPort.MouseClick, TextBoxUdpRemotePort.MouseClick
 
'    TextBox_GotFocus(sender, e)
 
'End Sub
Closed Jun 2, 2012 at 7:21 AM by ritchiecarroll

comments

wrote Jun 2, 2012 at 7:21 AM

Resolved with changeset 91264.

wrote Feb 14, 2013 at 2:29 AM

wrote May 16, 2013 at 7:56 AM