Click here to Skip to main content
15,891,629 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Windows logon password reminder Pin
John Deeran2-Feb-10 7:48
John Deeran2-Feb-10 7:48 
AnswerRe: Windows logon password reminder Pin
DaveAuld2-Feb-10 7:47
professionalDaveAuld2-Feb-10 7:47 
GeneralRe: Windows logon password reminder Pin
John Deeran2-Feb-10 7:51
John Deeran2-Feb-10 7:51 
GeneralRe: Windows logon password reminder Pin
DaveAuld2-Feb-10 8:02
professionalDaveAuld2-Feb-10 8:02 
GeneralRe: Windows logon password reminder Pin
John Deeran2-Feb-10 8:59
John Deeran2-Feb-10 8:59 
GeneralRe: Windows logon password reminder Pin
DaveAuld2-Feb-10 9:13
professionalDaveAuld2-Feb-10 9:13 
GeneralRe: Windows logon password reminder Pin
John Deeran2-Feb-10 9:32
John Deeran2-Feb-10 9:32 
QuestionControl Focus on Key Press Pin
eddieangel2-Feb-10 6:55
eddieangel2-Feb-10 6:55 
Good morning and thank you for taking the time to read my post. My employer asked me to allow a user to use the left and right arrows to navigate a binding source with navigator. I used the following code:

Protected Overrides Function ProcessKeyPreview(ByRef m As System.Windows.Forms.Message) As Boolean
    Select Case m.WParam.ToInt32()
        Case 37
            Me.DtRecordInfoBindingSource.MovePrevious()
        Case 39
            Me.DtRecordInfoBindingSource.MoveNext()
    End Select
    Return False
End Function


It works as expected, the only issue is that in addition to navigating records, the left and right arrow also move through the controls on the form until it reaches a combobox, in which case it navigates through the items in the combobox while navigating records. It not the end of the world, but it is a distraction and bad UI practice. Does anyone know how I can remove the control navigation function and leave only the record navigation?

Cheers ~EA
AnswerRe: Control Focus on Key Press Pin
Eddy Vluggen2-Feb-10 7:01
professionalEddy Vluggen2-Feb-10 7:01 
GeneralRe: Control Focus on Key Press Pin
eddieangel2-Feb-10 7:06
eddieangel2-Feb-10 7:06 
QuestionHi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 5:58
Taku Kawamoto2-Feb-10 5:58 
AnswerRe: Hi I am new to VB08 Pin
Jay Royall2-Feb-10 6:08
Jay Royall2-Feb-10 6:08 
GeneralRe: Hi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 6:21
Taku Kawamoto2-Feb-10 6:21 
GeneralRe: Hi I am new to VB08 Pin
Eddy Vluggen2-Feb-10 6:28
professionalEddy Vluggen2-Feb-10 6:28 
GeneralRe: Hi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 6:36
Taku Kawamoto2-Feb-10 6:36 
GeneralRe: Hi I am new to VB08 Pin
Eddy Vluggen2-Feb-10 6:58
professionalEddy Vluggen2-Feb-10 6:58 
GeneralRe: Hi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 7:15
Taku Kawamoto2-Feb-10 7:15 
GeneralRe: Hi I am new to VB08 Pin
Eddy Vluggen2-Feb-10 8:48
professionalEddy Vluggen2-Feb-10 8:48 
GeneralRe: Hi I am new to VB08 Pin
Jay Royall2-Feb-10 8:48
Jay Royall2-Feb-10 8:48 
AnswerRe: Hi I am new to VB08 Pin
DaveAuld2-Feb-10 6:14
professionalDaveAuld2-Feb-10 6:14 
GeneralRe: Hi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 6:23
Taku Kawamoto2-Feb-10 6:23 
GeneralRe: Hi I am new to VB08 Pin
DaveAuld2-Feb-10 6:31
professionalDaveAuld2-Feb-10 6:31 
GeneralRe: Hi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 6:35
Taku Kawamoto2-Feb-10 6:35 
GeneralRe: Hi I am new to VB08 Pin
DaveAuld2-Feb-10 6:51
professionalDaveAuld2-Feb-10 6:51 
GeneralRe: Hi I am new to VB08 Pin
Taku Kawamoto2-Feb-10 7:17
Taku Kawamoto2-Feb-10 7:17 

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.