Click here to Skip to main content
15,896,547 members
Home / Discussions / C#
   

C#

 
AnswerRe: Smtp Server Pin
led mike2-Feb-07 5:24
led mike2-Feb-07 5:24 
Questionupload progressbar control Pin
Ajay R Ojha2-Feb-07 0:33
Ajay R Ojha2-Feb-07 0:33 
AnswerRe: upload progressbar control Pin
Christian Graus2-Feb-07 0:45
protectorChristian Graus2-Feb-07 0:45 
AnswerRe: upload progressbar control Pin
blue_arc2-Feb-07 0:55
blue_arc2-Feb-07 0:55 
QuestionTypeInitializationException Pin
nasambur2-Feb-07 0:28
nasambur2-Feb-07 0:28 
AnswerRe: TypeInitializationException Pin
J4amieC2-Feb-07 2:18
J4amieC2-Feb-07 2:18 
GeneralRe: TypeInitializationException Pin
nasambur2-Feb-07 3:24
nasambur2-Feb-07 3:24 
QuestionListBox close Pin
quiteSmart1-Feb-07 23:47
quiteSmart1-Feb-07 23:47 
hi,

In my form i have a buttons, textBoxes, comboBoxes, labels,....

When i click on of the buttons a listbox that was set invisible is set visible.
It shows some names. The list box is located directly at the right-bottom corner or that button.
What i want is to make the listbox invisible whenever the user clicks the mouse at any location outside the listbox

I tried using the FocusLost event of the listBox, but that didn't work perfectly.
The problem it has is that whenever i click a label or a panel or something that doesn't receive focus, ofcourse the function is not executed.
With the FocusLost i tried to implement the MouseDown event of the form. That also didn't work.

Is there any way to do that without implementing a mouse click event on every label and every panel in the form.

thanks in advance
AnswerRe: ListBox close Pin
bobsugar2222-Feb-07 0:21
bobsugar2222-Feb-07 0:21 
GeneralRe: ListBox close Pin
quiteSmart2-Feb-07 1:15
quiteSmart2-Feb-07 1:15 
GeneralRe: ListBox close Pin
bobsugar2222-Feb-07 2:55
bobsugar2222-Feb-07 2:55 
AnswerRe: ListBox close Pin
Luc Pattyn2-Feb-07 0:23
sitebuilderLuc Pattyn2-Feb-07 0:23 
GeneralRe: ListBox close Pin
blue_arc2-Feb-07 1:34
blue_arc2-Feb-07 1:34 
AnswerRe: ListBox close Pin
J4amieC2-Feb-07 2:09
J4amieC2-Feb-07 2:09 
GeneralRe: ListBox close Pin
quiteSmart2-Feb-07 2:17
quiteSmart2-Feb-07 2:17 
QuestionSystem.Text.Encoding.Unicode.GetString() does not properly works in Vista... please help??? Pin
Waqas Nasir1-Feb-07 23:42
Waqas Nasir1-Feb-07 23:42 
QuestionResponse.redirect Pin
acodman1-Feb-07 23:22
acodman1-Feb-07 23:22 
AnswerRe: Response.redirect Pin
Christian Graus1-Feb-07 23:48
protectorChristian Graus1-Feb-07 23:48 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 0:36
acodman2-Feb-07 0:36 
GeneralRe: Response.redirect Pin
Parwej Ahamad2-Feb-07 0:41
professionalParwej Ahamad2-Feb-07 0:41 
AnswerRe: Response.redirect Pin
Parwej Ahamad2-Feb-07 0:32
professionalParwej Ahamad2-Feb-07 0:32 
AnswerRe: Response.redirect Pin
Ajay R Ojha2-Feb-07 0:40
Ajay R Ojha2-Feb-07 0:40 
GeneralRe: Response.redirect Pin
blue_arc2-Feb-07 1:18
blue_arc2-Feb-07 1:18 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 2:06
acodman2-Feb-07 2:06 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 2:11
acodman2-Feb-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.