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

Visual Basic

 
Questionchanging ComboBox style at runtime Pin
bonosa26-Jan-06 5:03
bonosa26-Jan-06 5:03 
AnswerRe: changing ComboBox style at runtime Pin
Dave Kreskowiak26-Jan-06 5:35
mveDave Kreskowiak26-Jan-06 5:35 
GeneralRe: changing ComboBox style at runtime Pin
bonosa26-Jan-06 15:45
bonosa26-Jan-06 15:45 
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 
I had the logic like this:

DataGrid.CurrentCell = New DataGridCell(0,0)<br />
DataGrid.Focus()


I changed it to your suggestion of:

DataGrid.Focus()<br />
DataGrid.CurrentCell = New DataGridCell(0,0)


Neither way allows the cursor to be focused in the cell. If I set it to (1,1), the pointer on the side has the arrow pointing at the second record, so the CurrentCell logic is working but the Focus() is not.

I've also set the breakpoint on that line just to make sure I'm not going crazy and the logic wasn't being executed. It is.

Thanks for your suggestions... Confused | :confused:

Lost in the vast sea of .NET
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 
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 

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.