Click here to Skip to main content
15,921,179 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDatagrid focus or lack of focus? Pin
KreativeKai26-Jan-06 4:51
professionalKreativeKai26-Jan-06 4:51 
AnswerRe: Datagrid focus or lack of focus? Pin
Dave Kreskowiak26-Jan-06 5:34
mveDave Kreskowiak26-Jan-06 5:34 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai26-Jan-06 6:08
professionalKreativeKai26-Jan-06 6:08 
GeneralRe: Datagrid focus or lack of focus? Pin
Dave Kreskowiak26-Jan-06 7:31
mveDave Kreskowiak26-Jan-06 7:31 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai26-Jan-06 7:44
professionalKreativeKai26-Jan-06 7:44 
GeneralRe: Datagrid focus or lack of focus? Pin
Dave Kreskowiak26-Jan-06 14:25
mveDave Kreskowiak26-Jan-06 14:25 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai27-Jan-06 1:35
professionalKreativeKai27-Jan-06 1:35 
GeneralRe: Datagrid focus or lack of focus? Pin
KreativeKai30-Jan-06 4:15
professionalKreativeKai30-Jan-06 4:15 
Here is the code I've used which works.

DataGrid.CurrentCell = New DataGridCell(0, 0)
SendKeys.Send("{TAB}")
SendKeys.Send("{TAB}")
SendKeys.Send("{TAB}")
SendKeys.Send("{HOME}")

This just doesn't seem like the best way to get focus on a datagrid.

Does anyone have a better suggestion? Confused | :confused:

Lost in the vast sea of .NET
QuestionRegistering a VB.net created COM/ActiveX dll on another machine Pin
Lewy7626-Jan-06 4:45
Lewy7626-Jan-06 4:45 
AnswerRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Dave Kreskowiak26-Jan-06 5:23
mveDave Kreskowiak26-Jan-06 5:23 
QuestionRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Lewy7626-Jan-06 5:55
Lewy7626-Jan-06 5:55 
AnswerRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Dave Kreskowiak26-Jan-06 5:58
mveDave Kreskowiak26-Jan-06 5:58 
GeneralRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Lewy7626-Jan-06 6:13
Lewy7626-Jan-06 6:13 
GeneralRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Dave Kreskowiak26-Jan-06 7:13
mveDave Kreskowiak26-Jan-06 7:13 
GeneralRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Lewy7626-Jan-06 8:24
Lewy7626-Jan-06 8:24 
GeneralRe: Registering a VB.net created COM/ActiveX dll on another machine Pin
Dave Kreskowiak26-Jan-06 14:45
mveDave Kreskowiak26-Jan-06 14:45 
Questioni dont know what to do? Pin
pandapatin26-Jan-06 4:06
pandapatin26-Jan-06 4:06 
AnswerRe: i dont know what to do? Pin
Dave Kreskowiak26-Jan-06 5:18
mveDave Kreskowiak26-Jan-06 5:18 
GeneralRe: i dont know what to do? Pin
pandapatin27-Jan-06 2:46
pandapatin27-Jan-06 2:46 
GeneralRe: i dont know what to do? Pin
Dave Kreskowiak27-Jan-06 11:35
mveDave Kreskowiak27-Jan-06 11:35 
QuestionHow make my own class and imports this Pin
Serpiente26-Jan-06 3:58
Serpiente26-Jan-06 3:58 
AnswerRe: How make my own class and imports this Pin
Dave Kreskowiak26-Jan-06 5:12
mveDave Kreskowiak26-Jan-06 5:12 
QuestionError Releted to IIS Pin
sagar_harale26-Jan-06 3:29
sagar_harale26-Jan-06 3:29 
AnswerRe: Error Releted to IIS Pin
Dave Kreskowiak26-Jan-06 5:08
mveDave Kreskowiak26-Jan-06 5:08 
Questionproblem with ms agent?? Pin
flashmemory26-Jan-06 1:52
flashmemory26-Jan-06 1:52 

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.