C
cj
When I select textbox1 I want all text in it to be selected. I used the
textbox1_enter event to run textbox1.selectall()
This works if I tab to the box but not if it is selected by clicking on
it. I hat to have to put textbox1.selectall() in the click event too.
GotFocus event doesn't work any better than the enter event. I could
swear that back in VB4 I used the gotfocus event to select all text no
matter how the box was entered. Has this changed with .net?
textbox1_enter event to run textbox1.selectall()
This works if I tab to the box but not if it is selected by clicking on
it. I hat to have to put textbox1.selectall() in the click event too.
GotFocus event doesn't work any better than the enter event. I could
swear that back in VB4 I used the gotfocus event to select all text no
matter how the box was entered. Has this changed with .net?