Click here to Skip to main content
15,913,263 members
Home / Discussions / C#
   

C#

 
AnswerRe: installing .net 2.0 Pin
Roy Heil24-Mar-06 6:50
professionalRoy Heil24-Mar-06 6:50 
QuestionBackup SQL Server 200 DB Pin
Mridang Agarwalla23-Mar-06 17:34
Mridang Agarwalla23-Mar-06 17:34 
AnswerRe: Backup SQL Server 200 DB Pin
oykica23-Mar-06 20:54
oykica23-Mar-06 20:54 
Questionhow to get the client ip address Pin
vamsimohan2123-Mar-06 16:49
vamsimohan2123-Mar-06 16:49 
AnswerRe: how to get the client ip address Pin
enjoycrack23-Mar-06 17:05
enjoycrack23-Mar-06 17:05 
AnswerRe: how to get the client ip address Pin
Luis Alonso Ramos23-Mar-06 17:33
Luis Alonso Ramos23-Mar-06 17:33 
AnswerRe: how to get the client ip address Pin
HimaBindu Vejella23-Mar-06 18:00
HimaBindu Vejella23-Mar-06 18:00 
QuestionForcing Validating/Validated event when a ToolStripItem is clicked Pin
Luis Alonso Ramos23-Mar-06 15:18
Luis Alonso Ramos23-Mar-06 15:18 
Hello,

I have a form with several controls whose content is saved to an internal object when the control gets the Validated event.

The problem is that when my Save button is clicked on the ToolStrip, the control that currently has focus doesn't lose it, so it never gets the Validating/Validated events.

Using the good-old ToolBar from .NET 1.x, I could try to set the focus to the toolbar in my ButtonClick event handler, and if it failed, I knew the Validating event had prevented focus getting out of it.

But while the ToolStrip has an ItemClicked event, it seems it's only fired for a ToolStripDropDown, and not for a regular ToolStrip.

I tried catching the Click event, but I didn't get it either.

So, any ideas? I don't want to have to do it in the Click handler for every item.

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!


The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005
QuestionSMTP via socket problem Pin
DannyAdler23-Mar-06 14:58
DannyAdler23-Mar-06 14:58 
AnswerRe: SMTP via socket problem Pin
Dave Kreskowiak23-Mar-06 16:09
mveDave Kreskowiak23-Mar-06 16:09 
GeneralRe: SMTP via socket problem Pin
DannyAdler23-Mar-06 22:49
DannyAdler23-Mar-06 22:49 
GeneralRe: SMTP via socket problem Pin
Dave Kreskowiak24-Mar-06 2:45
mveDave Kreskowiak24-Mar-06 2:45 
QuestionGDI+ Pin
Fouad_kayali23-Mar-06 14:01
Fouad_kayali23-Mar-06 14:01 
AnswerRe: GDI+ Pin
Christian Graus23-Mar-06 16:39
protectorChristian Graus23-Mar-06 16:39 
QuestionPeeping Tom Pin
IceWater4223-Mar-06 13:58
IceWater4223-Mar-06 13:58 
AnswerRe: Peeping Tom Pin
Luis Alonso Ramos23-Mar-06 15:21
Luis Alonso Ramos23-Mar-06 15:21 
GeneralRe: Peeping Tom Pin
IceWater4224-Mar-06 22:53
IceWater4224-Mar-06 22:53 
GeneralRe: Peeping Tom Pin
Luis Alonso Ramos25-Mar-06 6:56
Luis Alonso Ramos25-Mar-06 6:56 
QuestionHow to associate files with programs? Pin
nogola23-Mar-06 11:39
nogola23-Mar-06 11:39 
AnswerRe: How to associate files with programs? Pin
Ed.Poore23-Mar-06 12:21
Ed.Poore23-Mar-06 12:21 
AnswerRe: How to associate files with programs? Pin
kasik23-Mar-06 13:17
kasik23-Mar-06 13:17 
AnswerRe: How to associate files with programs? Pin
IceWater4223-Mar-06 17:55
IceWater4223-Mar-06 17:55 
Question.NET 2003 queues Pin
spin vector23-Mar-06 10:40
spin vector23-Mar-06 10:40 
QuestionRemote Registry editing? Pin
Joshua Lunsford23-Mar-06 10:13
Joshua Lunsford23-Mar-06 10:13 
AnswerRe: Remote Registry editing? Pin
oykica23-Mar-06 21:21
oykica23-Mar-06 21:21 

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.