in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Bug alert! The labels are included in the tab sequence.

Last post 03-03-2008 5:48 AM by kareshi. 12 replies.
Page 1 of 1 (13 items)
Sort Posts: Previous Next
  • 11-29-2007 9:04 PM

    Bug alert! The labels are included in the tab sequence.

     Hello,

    My C1 Toolbar contains several controls/objects like textboxes, listboxes, labels, buttons, etc.

    When I run the program and then successively pressed the Tab in the keyboard, the

    label controls are included among the controls in the toolbar that can be highlighted/focused.

    Is there a way to eliminate the label controls from being highlighted in the toolbar?

    I have set the HotFrame property to none and the label stopped being highlighted BUT it is still

    included in the tab order.

    I've even used this code in the Formload event but it did not work.

    Me.lblTest.IsAccessible = False

    BTW, I'm using VB.NET 2005 and C1.Win.C1Command.C1CommandLink

     

     

    Thanks,

     

    k

  • 11-30-2007 12:01 AM In reply to

    Re: Bug Alert!

    For further details, below is the code generated in the frmForm.designer.vb 

            Me.ctbarFS.Controls.Add(Me.cboComboBox1)

            Me.ctbarFS.Controls.Add(Me.iedtEditBox1)

            Me.ctbarFS.Controls.Add(Me.iedtEditBox2)
            Me.ctbarFS.Controls.Add(Me.cboComboBox2)
            Me.ctbarFS.Controls.Add(Me.lblLabel1)
            Me.ctbarFS.Controls.Add(Me.lblLabel2)
            Me.ctbarFS.Controls.Add(Me.lblLabel3)
            Me.ctbarFS.Controls.Add(Me.lblLabel4)
            Me.ctbarFS.Location = New System.Drawing.Point(111, 48)
            Me.ctbarFS.Movable = False
            Me.ctbarFS.Name = "ctbarFS"
            Me.ctbarFS.Size = New System.Drawing.Size(748, 27)
            Me.ctbarFS.Text = "C1ToolBar1"

    It makes no difference whether the label control is from MS .NET or from C1. Both are highlighted in the tab sequence but when I

    use the ToolStrip counterpart from MS .NET tool box, the labels in it are not highlighted.

     How can we exclude the labels like "Me.lblLabel2" from the tab sequence?

     

     

  • 12-03-2007 2:13 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: Bug Alert!

    Hi, this may work

    C1ToolBar1.Controls(2).TabStop = False

    Let me know if that doesn't fix this,

    Greg L

    Filed under:
  • 12-03-2007 8:42 PM In reply to

    Re: Bug Alert!

    Hi,

    Thanks for the reply.

    The code above didn't worked. The labels are still in the tabsequence.

    This problem arose when we upgraded the components to the latest version. This label-tab-order issue

    does not exist in the earlier version of your product.

  • 12-04-2007 11:41 AM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: Bug Alert!

    Can you please find out what version it originally worked for?

    I wasn't able to get this (or TabStop) to work for any version, however, the only sample I have is done somewhat differently from yours.  I add C1Commands to the toolbar and set the C1Command.Control properties to the arbitrary controls.  This is why i wans't sure if TabStop would work for yours.

    If you could also provide a demo sample that would helpful because we can test on your exact setup of the control.

    Regards,
    Greg L

  • 12-04-2007 9:34 PM In reply to

    Re: Bug Alert!

    Hi,

    The former version that we used was 2.0 .(Correction, 1.0.20062.179)

    Now  we are using 3.0. (Correction: 2.0.20071.19104)

    Here is the link to the sample demo.

     I have made one form with a C1 toolbar

    control and in it there are two labels, one combo box and two text boxes.

     

  • 12-07-2007 4:49 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: Bug Alert!

    I'm confused on your version numbers.  Do you mean .NET framework 2.0 and 3.0?

    or the component one T2 and T3 release versions?

    Can you find the version of the control that the tabbing worked correctly for, such as 2.0.20071.19104. Your sample has this version but it also does not work (the tabbing, that is).  You can find the version numbers in the property window for the reference, or the about dialog.

    Thanks,
    Greg L

  • 12-16-2007 9:18 PM In reply to

    Re: Bug Alert!

    Hello,

    Below are the spex details where the Label control is not in the tab sequence:

    C1 Version: 1.0.20062.179

    Dot Net Framework: 1.1

    Visual Studio Version: 2003

    OS: XP SP2

    Language Used: VB.NET

    The specs above are all Japanese version.

    Thanks,

     

     

  • 12-17-2007 10:14 AM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: Bug Alert!

    ok, Thanks Kareshi.  This makes sense that the working version was 1.X as I tested all 2.0 versions and it doesn't appear to work.  I will look into this and see if we can get it fixed.

    Regards,
    Greg L

  • 12-17-2007 8:27 PM In reply to

    Re: Bug Alert!

     

    Hello,

    Would you please give us the estimate on how long it would take to get fixed?

    Regards,

    K

  • 01-02-2008 3:13 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 500

    Re: Bug Alert!

    Kareshi,

    This bug has been fixed in the latest build 19307.  http://prerelease.componentone.com/

     

  • 01-08-2008 7:53 PM In reply to

    Re: Bug Alert!

    Hi Greg.

    Where is the "19307" in the http://prerelease.componentone.com/fullindex.html ??

    I think the link you gave is not yet updated as of 2008-01-09 10:00:00AM (Tokyo time)

  • 03-03-2008 5:48 AM In reply to

    Re: Bug Alert!

    Just following up

Page 1 of 1 (13 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.