Author Topic: Detecting mKeyboard.isDone  (Read 2855 times)

catlard

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 24
    • View Profile
Detecting mKeyboard.isDone
« on: December 15, 2013, 09:45:16 PM »
Is there a good way to detect if UIInput's mKeyboard.isDone's value is true? Currently I just make mKeyboard public, but this seems hacky. Ew. What to do?

S

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Detecting mKeyboard.isDone
« Reply #1 on: December 16, 2013, 08:59:21 AM »
You get an OnSubmit event when it's done (UIInput.onSubmit). Why not add your own listener?

catlard

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 24
    • View Profile
Re: Detecting mKeyboard.isDone
« Reply #2 on: December 22, 2013, 09:19:28 PM »
Ah! I understand now. Thanks. got it.