Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
QuestionC# datagridview cell focus Pin
jojoba20119-Jun-10 3:09
jojoba20119-Jun-10 3:09 
AnswerRe: C# datagridview cell focus Pin
Henry Minute9-Jun-10 7:17
Henry Minute9-Jun-10 7:17 
QuestionRe: C# datagridview cell focus Pin
jojoba20119-Jun-10 7:48
jojoba20119-Jun-10 7:48 
AnswerRe: C# datagridview cell focus Pin
Henry Minute9-Jun-10 12:57
Henry Minute9-Jun-10 12:57 
AnswerRe: C# datagridview cell focus Pin
Henry Minute10-Jun-10 3:24
Henry Minute10-Jun-10 3:24 
AnswerRe: C# datagridview cell focus Pin
dan!sh 9-Jun-10 7:55
professional dan!sh 9-Jun-10 7:55 
QuestionRe: C# datagridview cell focus Pin
jojoba20119-Jun-10 8:27
jojoba20119-Jun-10 8:27 
GeneralRe: C# datagridview cell focus Pin
Henry Minute9-Jun-10 10:06
Henry Minute9-Jun-10 10:06 
That is exactly what I have been playing with since my previous message to the OP.

Problem is CellLeave fires before the data has actually reached the cell you either get null (for new cell) or the old cell content so there is no value to test against to tell if a jump should be made or not. CellValuePushed is only fired if VirtualMode is true. You cannot set CurrentCell in CellValidating or CellValidated because you get a StackOverflowException. I'm still playing around but this ain't easy.
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.

AnswerRe: C# datagridview cell focus Pin
Dr.Walt Fair, PE9-Jun-10 10:46
professionalDr.Walt Fair, PE9-Jun-10 10:46 
GeneralRe: C# datagridview cell focus Pin
Henry Minute9-Jun-10 11:37
Henry Minute9-Jun-10 11:37 
GeneralRe: C# datagridview cell focus Pin
Dr.Walt Fair, PE9-Jun-10 13:36
professionalDr.Walt Fair, PE9-Jun-10 13:36 
QuestionC# how to keep datetimes independent of regional settings Pin
MayukhSen9-Jun-10 2:01
MayukhSen9-Jun-10 2:01 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
DaveyM699-Jun-10 2:05
professionalDaveyM699-Jun-10 2:05 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
OriginalGriff9-Jun-10 2:16
mveOriginalGriff9-Jun-10 2:16 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
Pete O'Hanlon9-Jun-10 2:36
mvePete O'Hanlon9-Jun-10 2:36 
AnswerRe: C# how to keep datetimes independent of regional settings Pin
Luc Pattyn9-Jun-10 3:30
sitebuilderLuc Pattyn9-Jun-10 3:30 
GeneralRe: C# how to keep datetimes independent of regional settings Pin
MayukhSen9-Jun-10 23:48
MayukhSen9-Jun-10 23:48 
Questionhandle of parent window containing windowless content Pin
rakesh54549-Jun-10 1:33
rakesh54549-Jun-10 1:33 
QuestionBuild exe dynamically Pin
kasraa000980009-Jun-10 0:57
kasraa000980009-Jun-10 0:57 
AnswerRe: Build exe dynamically Pin
OriginalGriff9-Jun-10 1:01
mveOriginalGriff9-Jun-10 1:01 
AnswerRe: Build exe dynamically Pin
datenkabel9-Jun-10 1:51
datenkabel9-Jun-10 1:51 
GeneralRe: Build exe dynamically Pin
ostad_mrn9-Jun-10 1:58
ostad_mrn9-Jun-10 1:58 
GeneralRe: Build exe dynamically Pin
WillemM9-Jun-10 3:01
WillemM9-Jun-10 3:01 
AnswerRe: Build exe dynamically Pin
PIEBALDconsult9-Jun-10 3:18
mvePIEBALDconsult9-Jun-10 3:18 
GeneralRe: Build exe dynamically Pin
kasraa000980009-Jun-10 9:28
kasraa000980009-Jun-10 9:28 

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.