Click here to Skip to main content
15,905,915 members
Home / Discussions / C#
   

C#

 
GeneralA question about object sender Pin
Member 9401251-Jul-04 9:01
Member 9401251-Jul-04 9:01 
GeneralRe: A question about object sender Pin
Karl 20001-Jul-04 10:12
Karl 20001-Jul-04 10:12 
GeneralRe: A question about object sender Pin
Member 9401251-Jul-04 10:34
Member 9401251-Jul-04 10:34 
GeneralCalling UI Thread Pin
WKIII1-Jul-04 8:59
WKIII1-Jul-04 8:59 
GeneralRe: Calling UI Thread Pin
Heath Stewart2-Jul-04 2:37
protectorHeath Stewart2-Jul-04 2:37 
GeneralRe: Calling UI Thread Pin
WKIII6-Jul-04 10:18
WKIII6-Jul-04 10:18 
GeneralSenior C# Programmer Pin
MikeHarris1-Jul-04 8:55
MikeHarris1-Jul-04 8:55 
GeneralRe: Senior C# Programmer Pin
Colin Angus Mackay1-Jul-04 12:26
Colin Angus Mackay1-Jul-04 12:26 
GeneralSetting application icon doesnt work Pin
Anonymous1-Jul-04 8:12
Anonymous1-Jul-04 8:12 
GeneralRe: Setting application icon doesnt work Pin
Karl 20001-Jul-04 10:20
Karl 20001-Jul-04 10:20 
GeneralRe: Setting application icon doesnt work Pin
leppie1-Jul-04 12:22
leppie1-Jul-04 12:22 
GeneralRe: Setting application icon doesnt work Pin
Anonymous2-Jul-04 1:16
Anonymous2-Jul-04 1:16 
General.Net Remoting return Object help Pin
bmasephol1-Jul-04 7:19
bmasephol1-Jul-04 7:19 
GeneralRe: .Net Remoting return Object help Pin
Judah Gabriel Himango1-Jul-04 7:57
sponsorJudah Gabriel Himango1-Jul-04 7:57 
GeneralRe: .Net Remoting return Object help Pin
Judah Gabriel Himango1-Jul-04 8:04
sponsorJudah Gabriel Himango1-Jul-04 8:04 
GeneralRe: .Net Remoting return Object help Pin
bmasephol1-Jul-04 8:46
bmasephol1-Jul-04 8:46 
GeneralRe: .Net Remoting return Object help Pin
WKIII1-Jul-04 8:08
WKIII1-Jul-04 8:08 
GeneralRe: .Net Remoting return Object help Pin
Tom Larsen1-Jul-04 19:19
Tom Larsen1-Jul-04 19:19 
GeneralRe: .Net Remoting return Object help Pin
bmasephol2-Jul-04 3:06
bmasephol2-Jul-04 3:06 
GeneralWhy Add and Remove button of propertyGrid disabled Pin
god4k1-Jul-04 6:48
god4k1-Jul-04 6:48 
GeneralRe: Why Add and Remove button of propertyGrid disabled Pin
Heath Stewart2-Jul-04 2:29
protectorHeath Stewart2-Jul-04 2:29 
General_42TabbedControl Validation Pin
RobertVG1-Jul-04 5:18
RobertVG1-Jul-04 5:18 
I would like to allow my users the opportunity to update changes on a control in a particular tab when they try to leave. To do this I use the user control thats loaded into the tab's Validating event (Catching the event in the tabbedcontrol itself will not find the changes). The event is caught and a dialog box is fired off to ask whether or not theyd like to leave.

Problem 1: the Validating event is fired twice when a user tries to leave the tab.

Problem 2: the call to e.cancel = true gets enforced not on the two times when its leaving, but rather when the tab is getting the focus once again, ie the cancel call doesnt do anything until you leave the tab and then try and come back.

Any suggetions?

Thank You
Robert
GeneralTabbedControl Validation Pin
RobertVG1-Jul-04 11:32
RobertVG1-Jul-04 11:32 
GeneralWindows Forms and Role Based Security Pin
OMalleyW1-Jul-04 5:14
OMalleyW1-Jul-04 5:14 
GeneralWord 2003 Pin
Giles1-Jul-04 4:34
Giles1-Jul-04 4:34 

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.