Upon pressing any key + edit box

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello there !
    Can someone explain me why my code doesn`t work ?
    In my frame i have EditBox.
    I try to start loop every time when user pressed any key. But when i click on EditBox - loop doesn`t start anymore :(
    Please login to see this attachment.

  • because editbox grab application input focus i assume, you need to disable focus on editbox, one simpliest possible solustion is:
    [TABLE='class: grid, width: 500']
    [tr][/tr]

    [tr]
    [/tr][tr][td][/td][/tr]

    [tr][td]mouse pointer over "EditBox"[/td][/tr]

    [tr]
    [/tr][tr][td][/td][/tr]

    [tr][td]"EditBox" set focus on[/td][/tr]

    [tr]
    [/tr]


    [tr][/tr]

    [tr]
    [/tr][tr][td][/td][/tr]

    [tr][td]mouse pointer NOT over "EditBox"
    only one action when event loops[/td][/tr]

    [tr]
    [/tr][tr][td][/td][/tr]

    [tr][td]"EditBox" set focus off[/td][/tr]

    [tr]
    [/tr]


    [/TABLE]

    Please login to see this link.

  • usually editable ui elements grab input focus if you click and point into em, like this reply on clickteam website. If you click into area above this message, editbox loses his focus and you can't write any message, but if you click editbox body, it will editable.

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!