Click here to Skip to main content
15,888,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Jassim Rahma21-Aug-10 13:03
Jassim Rahma21-Aug-10 13:03 
AnswerRe: prevent form resizing on titlebar double clicks Pin
Ravi Bhavnani21-Aug-10 13:23
professionalRavi Bhavnani21-Aug-10 13:23 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Not Active21-Aug-10 13:34
mentorNot Active21-Aug-10 13:34 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Ravi Bhavnani22-Aug-10 4:42
professionalRavi Bhavnani22-Aug-10 4:42 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Not Active21-Aug-10 13:29
mentorNot Active21-Aug-10 13:29 
Questioncombobox Tab problem Pin
Jassim Rahma21-Aug-10 11:55
Jassim Rahma21-Aug-10 11:55 
AnswerRe: combobox Tab problem Pin
Luc Pattyn21-Aug-10 12:17
sitebuilderLuc Pattyn21-Aug-10 12:17 
AnswerRe: combobox Tab problem Pin
OriginalGriff21-Aug-10 22:18
mveOriginalGriff21-Aug-10 22:18 
Luc is right - it is the tab order you want.
Stop trying to handle the Tab key yourself - Windows handles it quite well for you. Assuming that the two comboboxes are on the same form: (If they aren't then you definitely want to change the whole design because that would be horrible and confusing for the user)

Make sure each combobox has it's TabStop property set to true - this is the default.
Since they are in different panels, set the TabOrder for each Panel so they are consecutive. I.e. panel with combobox 1 has taborder 0, panel with combobox 2 has taborder 1. Make sure that no other controls has those Tab Order values. (There is a toolbar button for view / set of taborder on the Layout toolbar - normally at the far right end.)
That's it. Windows now takes care of it.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

QuestionDelegate casting/conversion Pin
DaveyM6921-Aug-10 5:26
professionalDaveyM6921-Aug-10 5:26 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 5:42
harold aptroot21-Aug-10 5:42 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 5:59
professionalDaveyM6921-Aug-10 5:59 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:24
harold aptroot21-Aug-10 6:24 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 6:28
professionalDaveyM6921-Aug-10 6:28 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:33
harold aptroot21-Aug-10 6:33 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 6:40
professionalDaveyM6921-Aug-10 6:40 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:45
harold aptroot21-Aug-10 6:45 
QuestionThreading for multicore applications Pin
Steven Solberg21-Aug-10 5:20
Steven Solberg21-Aug-10 5:20 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 5:44
harold aptroot21-Aug-10 5:44 
GeneralRe: Threading for multicore applications [modified] Pin
Steven Solberg21-Aug-10 6:13
Steven Solberg21-Aug-10 6:13 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 6:42
harold aptroot21-Aug-10 6:42 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 6:51
Steven Solberg21-Aug-10 6:51 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:02
harold aptroot21-Aug-10 7:02 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:05
Steven Solberg21-Aug-10 7:05 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:11
harold aptroot21-Aug-10 7:11 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:25
Steven Solberg21-Aug-10 7:25 

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.