Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] EditBox Stuff

Author
Message
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 26th Jul 2019 20:51
SetEditBoxInputType(index,1) [1 for numbers only] doesn't appear to be functional, while running in Windows 7 at least.

Also, can we add support for pasting from windows clipboard?

The author of this post has marked a post as an answer.

Go to answer

Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th Jul 2019 22:05 Edited at: 26th Jul 2019 22:06
In the help file it is written that this command calls the keyboard in mobile devices to enter text or numbers.
https://www.instagram.com/qugurun/

Attachments

Login to view attachments
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 26th Jul 2019 22:35 Edited at: 27th Jul 2019 11:43
This post has been marked by the post author as the answer.
If you want to take only numbers, you can do so.





Сan be checked with GetLastChar ()
This implementation does not work correctly if you enter text quickly.

https://www.instagram.com/qugurun/

Attachments

Login to view attachments
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 27th Jul 2019 13:31 Edited at: 31st Jul 2019 05:24
Pasting from windows clipboard - right click





Or press "Ctrl+V"

https://www.instagram.com/qugurun/

Attachments

Login to view attachments
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 31st Jul 2019 04:31
Thank you much for the clever code snippets! They both did the job.

Login to post a reply

Server time is: 2024-04-25 07:46:15
Your offset time is: 2024-04-25 07:46:15