Results 1 to 5 of 5

Thread: Another CodeJock button focus issue

  1. #1
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    795

    Default Another CodeJock button focus issue

    Hi DAW

    We have been moving our codejock controls to use the 15.3.1 version, in line with what your using, and going through our unit tests have found a focus problem with the push button.

    I have attached a workspace to highlight the problem.

    1. Compile and run the program
    2. Click each button 1, 2 and 3 and you will see the value of the form change
    3. After clicking button 3, click in the form and then click button 2, the button takes the focus but the value of the form doesn't change
    4. Click in the form again and click button 2, now it does change
    5. Do the exercise again for button 1 and you will get the same problem

    When it breaks, clicking the button activates it and takes the focus but doesn't do the mouse click.

    And it only seems to break when the form is on a tabview, if you change the tabview to a tabpage, and tabdialogview to a tabdialog it works as expected.

    Also you will notice in the code its using all vanilla classes and the button is just based on the CodeJock wrapper.


    Attachment 6696Attachment 6696
    Attached Files Attached Files
    Last edited by Tom Murphy; 1-Aug-2013 at 08:03 PM.
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  2. #2
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    795

    Default Re: Another CodeJock button focus issue

    Also, if we use CJ 13.4.2 it works as it should, but given you are using 15.3.1 this is the version we like to use as well.
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  3. #3
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    795

    Default Re: Another CodeJock button focus issue

    Any comments on this one?
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  4. #4
    Join Date
    Feb 2009
    Location
    Round Lake, IL
    Posts
    1,775

    Default Re: Another CodeJock button focus issue

    I'm not sure if the is the same as what I encountered a few years back. I'll have a look at your sample workspace. If it is the same, I do have a solution. Stay tuned!
    Todd Forsberg
    Idealease, Inc.
    Senior Programmer

    Web and Mobile Development: Think Outside the <DIV>

  5. #5
    Join Date
    Feb 2009
    Location
    Round Lake, IL
    Posts
    1,775

    Default Re: Another CodeJock button focus issue

    Sorry. This is not the same issue I had, but I'm gonna see if I can find out why this is occurring.
    Todd Forsberg
    Idealease, Inc.
    Senior Programmer

    Web and Mobile Development: Think Outside the <DIV>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •