Welcome,
Guest
. Please
login
or
register
.
December 12, 2024, 12:18:16 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[Solved]Selecting UIInput widget by code?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved]Selecting UIInput widget by code? (Read 2118 times)
Gregzo
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 64
[Solved]Selecting UIInput widget by code?
«
on:
August 15, 2012, 04:02:32 AM »
Hi!
I'd like to automaticaly trigger the appearance of the onscreen keyboard (iOS) for a UIInput widget. Tried to send OnClick() and OnSelect(true) messages to it, nope...
Anyone can help?
Cheers,
Gregzo
«
Last Edit: August 15, 2012, 04:35:18 AM by Gregzo
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Selecting UIInput widget by code?
«
Reply #1 on:
August 15, 2012, 04:13:37 AM »
It's triggered as soon as it gets focus -- UICamera.selectedObject = yourInputObject.
Logged
Gregzo
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 64
Re: Selecting UIInput widget by code?
«
Reply #2 on:
August 15, 2012, 04:34:54 AM »
Ha! That simple... Thanks,
Gregzo
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[Solved]Selecting UIInput widget by code?