[Mono-bugs] [Bug 426170] New: TextBox: with AcceptsTab=true, Ctrl+Tab must move to next control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 14 14:24:17 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=426170


           Summary: TextBox: with AcceptsTab=true, Ctrl+Tab must move to
                    next control
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Normally Tab moves to the next control on the form.  The TextBoxBase.AcceptsTab
property -- together with Multiline=true -- sets the textbox to use the tab and
insert it into its text.  Then, Ctrl+Tab should be used to replace the normal
Tab behaviour.  In that mode on Mono however Ctrl+Tab is just used to insert a
tab too.

Repro, use e.g. PropGridFormControlTabView.cs.  Set textbox Multiline=true,
observe behaviour in first column.  Set textbox AcceptsTab=true, expect
behaviour in first table second column, but see incorrect behaviour from second
table second column.


Should:
        | Normally       | AcceptsTab & Multiline
---------+----------------+------------------------
Tab      | Cycle controls | Insert tab character
Ctrl+Tab | No effect*     | Cycle controls

Mono:
        | Normally       | AcceptsTab & Multiline
---------+----------------+------------------------
Tab      | Cycle controls | Insert tab character
Ctrl+Tab | No effect*     | !! Insert tab character !!

* -- Or used by other controls, e.g. on TabPanel, its used to cycle through the
tabpages.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list