Click here to Skip to main content
15,896,727 members
Home / Discussions / C#
   

C#

 
AnswerRe: Personal Grading System Pin
Colin Angus Mackay25-Sep-08 18:30
Colin Angus Mackay25-Sep-08 18:30 
QuestionBeginner Questions Pin
Rodziel25-Sep-08 17:16
Rodziel25-Sep-08 17:16 
AnswerRe: Beginner Questions Pin
c242326-Sep-08 0:23
c242326-Sep-08 0:23 
QuestionRe: Beginner Questions [modified] Pin
Rodziel26-Sep-08 12:29
Rodziel26-Sep-08 12:29 
AnswerRe: Beginner Questions Pin
c242328-Sep-08 21:35
c242328-Sep-08 21:35 
QuestionSave Solution to different folder Pin
upsfeup25-Sep-08 15:53
upsfeup25-Sep-08 15:53 
AnswerRe: Save Solution to different folder Pin
Steve Echols25-Sep-08 19:07
Steve Echols25-Sep-08 19:07 
QuestionHo do I suppress the Tab key, or control tabbing to a nested user control? Pin
Poolee25-Sep-08 15:47
Poolee25-Sep-08 15:47 
Hi there, I someone can help me... this is driving me nuts...

I have a form (with textboxes and buttons) with dynamically created user controls (BasePanel) when the user presses the Add button. On that user control is a textbox.

When that user control gets created, one of two possible user controls (GeneralEntry - initially - or EventEntry) are added to that user control, which contains a series of maskedtextboxes. If the user types a letter in this first maskedtextbox, then the GeneralEntry gets replaced with the EventEntry user control, which has a different series of maskedtextboxes.

Now, what I want to have happen is that on the last textbox on the form, when the user presses Tab, it goes to the first maskedtextbox on the GeneralEntry, but it doesn't... it goes to the textbox on the BasePanel.

I have tried assigning all the tab orders so that the all in the correct order, but there seems to be a precedence of controls... form, then user control, then next user control, etc...

I have also tried suppressing the Tab key and forcing the SelectNextControl... but that's not working either, as the Tab key doesn't seem to be able to be suppressed or handled.

Does anyone have any suggestions please?

Thanks in advance!
Paul

One day I want to be a code monkey. Right now, I'm more like a code amoeba...

AnswerRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
dan!sh 25-Sep-08 17:59
professional dan!sh 25-Sep-08 17:59 
GeneralRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
Poolee26-Sep-08 17:48
Poolee26-Sep-08 17:48 
GeneralRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
dan!sh 26-Sep-08 18:40
professional dan!sh 26-Sep-08 18:40 
GeneralRe: Ho do I suppress the Tab key, or control tabbing to a nested user control? Pin
Poolee2-Oct-08 6:51
Poolee2-Oct-08 6:51 
QuestionParse XML file and connect to a DSN Pin
Planker25-Sep-08 13:47
Planker25-Sep-08 13:47 
AnswerRe: Parse XML file and connect to a DSN Pin
Planker25-Sep-08 16:53
Planker25-Sep-08 16:53 
AnswerRe: Parse XML file and connect to a DSN Pin
PIEBALDconsult25-Sep-08 18:45
mvePIEBALDconsult25-Sep-08 18:45 
GeneralRe: Parse XML file and connect to a DSN Pin
Planker26-Sep-08 2:41
Planker26-Sep-08 2:41 
QuestionA good tutorial tu use graphics on form ? Pin
baranils25-Sep-08 11:40
baranils25-Sep-08 11:40 
AnswerRe: A good tutorial tu use graphics on form ? Pin
Anthony Mushrow25-Sep-08 12:27
professionalAnthony Mushrow25-Sep-08 12:27 
GeneralRe: A good tutorial tu use graphics on form ? Pin
baranils25-Sep-08 20:02
baranils25-Sep-08 20:02 
GeneralRe: A good tutorial tu use graphics on form ? Pin
Anthony Mushrow25-Sep-08 22:21
professionalAnthony Mushrow25-Sep-08 22:21 
AnswerRe: A good tutorial tu use graphics on form ? Pin
V.25-Sep-08 20:33
professionalV.25-Sep-08 20:33 
GeneralRe: A good tutorial tu use graphics on form ? Pin
baranils25-Sep-08 21:04
baranils25-Sep-08 21:04 
GeneralRe: A good tutorial tu use graphics on form ? Pin
Anthony Mushrow25-Sep-08 22:28
professionalAnthony Mushrow25-Sep-08 22:28 
GeneralRe: A good tutorial tu use graphics on form ? Pin
baranils25-Sep-08 22:59
baranils25-Sep-08 22:59 
QuestionHow does one indirectly use user controls on a Winform. Pin
ingersod25-Sep-08 9:42
ingersod25-Sep-08 9:42 

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.