Click here to Skip to main content
15,796,179 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 7:08
mveDave Kreskowiak15-May-07 7:08 
GeneralRe: Select all of the text in a textbox Pin
TwoFaced15-May-07 7:28
TwoFaced15-May-07 7:28 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 7:30
mveDave Kreskowiak15-May-07 7:30 
GeneralRe: Select all of the text in a textbox - Windows app Pin
Marcus J. Smith15-May-07 7:15
professionalMarcus J. Smith15-May-07 7:15 
GeneralRe: Select all of the text in a textbox [modified] Pin
Dave Kreskowiak15-May-07 7:20
mveDave Kreskowiak15-May-07 7:20 
GeneralRe: Select all of the text in a textbox Pin
TwoFaced15-May-07 7:38
TwoFaced15-May-07 7:38 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 7:55
mveDave Kreskowiak15-May-07 7:55 
AnswerRe: Select all of the text in a textbox [modified] Pin
Xandip15-May-07 20:16
Xandip15-May-07 20:16 
friend..
try this out.. this is a VB code, so look out if you can do it in your platform...

Private Sub Text1_GotFocus()
SendKeys "+{END}"
If Text1.SelLength = 0 Then
SendKeys "{END}"
SendKeys "+{HOME}"
End If
End Sub

Private Sub Text1_Click()
Call Text1_GotFocus
End Sub

do reply if its working in .NET

Smile | :)


-- modified at 1:45 Wednesday 16th May, 2007
QuestionDelegates are type-safe Function Pointers Pin
Sonia Gupta15-May-07 3:34
Sonia Gupta15-May-07 3:34 
AnswerRe: Delegates are type-safe Function Pointers Pin
Colin Angus Mackay15-May-07 3:37
Colin Angus Mackay15-May-07 3:37 
Questiondelegates Pin
Sonia Gupta15-May-07 3:28
Sonia Gupta15-May-07 3:28 
AnswerRe: delegates Pin
Colin Angus Mackay15-May-07 3:35
Colin Angus Mackay15-May-07 3:35 
QuestionRe: delegates Pin
Sonia Gupta15-May-07 3:48
Sonia Gupta15-May-07 3:48 
AnswerRe: delegates Pin
Guffa15-May-07 4:50
Guffa15-May-07 4:50 
AnswerRe: delegates Pin
Colin Angus Mackay15-May-07 4:51
Colin Angus Mackay15-May-07 4:51 
QuestionRaising and handling events in 2 independant forms. Pin
steve_rm15-May-07 2:51
steve_rm15-May-07 2:51 
AnswerRe: Raising and handling events in 2 independant forms. Pin
Probeer Das15-May-07 4:32
Probeer Das15-May-07 4:32 
AnswerRe: Raising and handling events in 2 independant forms. Pin
Dave Kreskowiak15-May-07 5:06
mveDave Kreskowiak15-May-07 5:06 
Questionhow to resolve it Pin
d_smit15-May-07 2:18
d_smit15-May-07 2:18 
QuestionRe: how to resolve it [modified] Pin
Sonia Gupta15-May-07 2:23
Sonia Gupta15-May-07 2:23 
QuestionRun in Services Pin
Socheat.Net15-May-07 2:14
Socheat.Net15-May-07 2:14 
AnswerRe: Run in Services Pin
harsh_c15-May-07 2:27
professionalharsh_c15-May-07 2:27 
GeneralRe: Run in Services Pin
Socheat.Net15-May-07 16:43
Socheat.Net15-May-07 16:43 
AnswerRe: Run in Services Pin
Dave Kreskowiak15-May-07 5:03
mveDave Kreskowiak15-May-07 5:03 
QuestionText Box with Rounded corners Pin
todd.0101110115-May-07 2:11
todd.0101110115-May-07 2:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.