Click here to Skip to main content
15,906,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: installing to older versions of Windows Pin
Dave Kreskowiak18-Aug-10 9:08
mveDave Kreskowiak18-Aug-10 9:08 
AnswerRe: installing to older versions of Windows Pin
Tom Deketelaere19-Aug-10 2:30
professionalTom Deketelaere19-Aug-10 2:30 
GeneralRe: installing to older versions of Windows Pin
RyJaBy19-Aug-10 2:42
RyJaBy19-Aug-10 2:42 
QuestionDetecting selected text Pin
Pasan14817-Aug-10 7:21
Pasan14817-Aug-10 7:21 
AnswerRe: Detecting selected text Pin
Dave Kreskowiak17-Aug-10 14:41
mveDave Kreskowiak17-Aug-10 14:41 
AnswerRe: Detecting selected text Pin
Tom Foswick24-Aug-10 22:45
Tom Foswick24-Aug-10 22:45 
QuestionTextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 6:19
Andraw Tang17-Aug-10 6:19 
AnswerRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
riced17-Aug-10 7:23
riced17-Aug-10 7:23 
Andraw Tang wrote:
What should I do to always have the Leave event fired?


Leave the textbox? Smile | :)
More seriously, if you check you will see that if a textbox has the focus, when you click on the form, the box does not lose focus.
So you need to detect the click on the form, and if the textbox currently has focus then leave it.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.

GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 8:12
Andraw Tang17-Aug-10 8:12 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Eddy Vluggen17-Aug-10 9:00
professionalEddy Vluggen17-Aug-10 9:00 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 8:26
Andraw Tang17-Aug-10 8:26 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Eddy Vluggen17-Aug-10 9:02
professionalEddy Vluggen17-Aug-10 9:02 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 9:17
Andraw Tang17-Aug-10 9:17 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Eddy Vluggen17-Aug-10 9:38
professionalEddy Vluggen17-Aug-10 9:38 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 9:55
Andraw Tang17-Aug-10 9:55 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Eddy Vluggen17-Aug-10 10:20
professionalEddy Vluggen17-Aug-10 10:20 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 10:29
Andraw Tang17-Aug-10 10:29 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Eddy Vluggen17-Aug-10 11:00
professionalEddy Vluggen17-Aug-10 11:00 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang17-Aug-10 11:15
Andraw Tang17-Aug-10 11:15 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Eddy Vluggen17-Aug-10 11:47
professionalEddy Vluggen17-Aug-10 11:47 
AnswerRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
nikhilhegde00717-Aug-10 21:40
nikhilhegde00717-Aug-10 21:40 
GeneralRe: TextBox_Leave event only fired when move mouse to other control in vb.net 2005 Pin
Andraw Tang18-Aug-10 4:27
Andraw Tang18-Aug-10 4:27 
QuestionFile.Delete Method Pin
98fireblade17-Aug-10 5:08
98fireblade17-Aug-10 5:08 
AnswerRe: File.Delete Method Pin
David Mujica17-Aug-10 5:22
David Mujica17-Aug-10 5:22 
GeneralRe: File.Delete Method Pin
98fireblade17-Aug-10 5:29
98fireblade17-Aug-10 5:29 

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.