purpleMonkey123's Forum Posts

  • 3 posts
  • Hello. So I am making a for a desktop user where when they click a button a certain textbox will have the cursor in it ready to type. When they click a different button, a different textbox will be ready to type in. I have tried using the textbox set focused option, but it didn't work. Can anyone help me please? I have looked around a lot for a solution, but I haven't been able to find anything.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Well I have these three conditionals

    if

    nextLayer on click

    or

    keyboard on return released

    then ....

    addItem on click

    or

    keyboard on return released

    then...

    addPayment on click

    or

    keyboard on return released

    then..

    my program is kind of like a website. The first one works fine, but when I get to the second one and press enter, it seems to go through the 3rd and 1st one too. I tried to do this:

    if

    canClick1 = true

    and

    (nextLayer on click

    or

    keyboard on return released)

    then ....

    canClick2 = true

    and

    addItem on click

    or

    keyboard on return released

    then...

    canClick3 = true

    and

    addPayment on click

    or

    keyboard on return released

    then..

    I thought this would work because maybe all of them were getting called at once because of the or statement, but this didn't work and the problem was still there.

  • I am trying to use the return key 3 times in my program. The first time, it works fine, but after that it throws it out of wack. I am trying to make it so the user can either click a button or press the return key. When the return key gets pressed again, the style is messed up and about 5 steps get missed. How can I solve this?

  • 3 posts