TwwwLayoutGrid Cell Focus

Comments

16 comments

  • Official comment
    Roy Woll

    I apologize. That one was not implemented correctly.  I have updated the build 12.0.5.7.1, so please redownload to correct this.

    Comment actions Permalink
  • Roy Woll

    Sorry there was a problem with our system so your message was not showing up.

    The layout grid should move to the first control with tabstop as true. Could it be moving to a new control that is a non-edit?

    0
    Comment actions Permalink
  • Orren Grushkin

    Nope, just have a TEdit in the layout - need to double tab...it seems the cell gains focus and then the first tab-stop

    0
    Comment actions Permalink
  • Roy Woll

    I can't seem to reproduce your issue. Can you provide a sample project and email it to us at support?

    0
    Comment actions Permalink
  • Orren Grushkin

    You need to make sure you have at least 2 columns...try that before I send a program...

    0
    Comment actions Permalink
  • Roy Woll

    What do you mean by columns. Is your layout grid horizontal or vertical?

    0
    Comment actions Permalink
  • Roy Woll

    I tried our LayoutGridHorzDemo with 4 columns. I set the readonly to false so that I can edit. Then I ran the project and the tab key will move to the next control and I can see the focus change.

    0
    Comment actions Permalink
  • Orren Grushkin

    TwwLayoutGrid.ColCount := 2

    Orientation = cgoVertical

    0
    Comment actions Permalink
  • Orren Grushkin

    I tried it both horizontal and vertical  - and it didn't go to the field...

    I dont see a LayoutGridHorzDemo - unless it is part of the MainDemo - and then there is no editing in the layoutgrid...

    0
    Comment actions Permalink
  • Roy Woll

    It is part of the main demo. As mentioned I changed readonly to false which enables editing and then ran the project and do not see your problem.

    0
    Comment actions Permalink
  • Orren Grushkin

    i will review and send you a demo if needed

    0
    Comment actions Permalink
  • Orren Grushkin

    I will send a demo. it seems the issue is if there are multiple edits on a RecordPanel and some are invisible. It seems the invisible ones are gaining focus somehow. If i remove the tab stop from the invisible edits, it works. That being said, I think the bug is that invisible edits are gaining focus...

    Sorry for not being clear on the problem initially, I am reporting what is being reported to me.

     

    thanks

    0
    Comment actions Permalink
  • Roy Woll

    Yes, it recognizes invisible objects on the form and looks at their tabtop property. Is there a reason you have invisible objects in your layout grid with tabletop = true. I think if you set their tabtop to false, it will also work.

    0
    Comment actions Permalink
  • Orren Grushkin

    We have a drop down on the cell that changes the appropriate fields to be entered. Tabstop is always true - the code currently just changes the visibility. The assumption was that invisible objects wouldnt be stopped at. It wouldnt make sense to stop at objects that are invisible. I've already instructed to make tabstop false when invisible until this is fixed, or is this working as intended?

    0
    Comment actions Permalink
  • Roy Woll

    The design did not envision that there would be invisible controls placed on the layout grid that would be used.  We can try to accommodate such a situation in the future, but for now the workaround of setting tabstop to false is the recommended approach.

    0
    Comment actions Permalink
  • Orren Grushkin

    I see that in the latest release notes this issue is noted as fixed. Ive installed the latest version and it is still behaving the same as before (in other words it still doesnt work)....

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk