Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-24-2013, 12:38 AM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
iOS numeric key-pad

Hello, been a while since I've posted on these forums. I haven't had the need to because I have Novo (Delteria's manager) to help me with just about anything I need script-wise. But there comes a time where there is something that you just don't know!

Anyways, to the point.. I'm using a TextEditCtrl and I'm curious how I can get it to open up the numeric key-pad on an iDevice instead of the default keyboard. Here is the key-pad I am talking about:


Help would be greatly appreciated Thanks
Reply With Quote
  #2  
Old 02-24-2013, 01:58 AM
dylan dylan is offline
AGT
Join Date: Jul 2012
Location: United States
Posts: 60
dylan has a spectacular aura about
I don't believe the current iOS client allows you to do so.
__________________

<@Logan> I spent a minute looking at my own code by accident.
<@Logan> I was thinking "What the hell is this guy doing?"
Reply With Quote
  #3  
Old 02-24-2013, 04:28 AM
Gunderak Gunderak is offline
Coder
Gunderak's Avatar
Join Date: Jun 2011
Location: Australia
Posts: 795
Gunderak is on a distinguished road
PHP Code:
new GuiTextEditCtrl("TextEditCtrlThingo") {
  
profile GuiBlueTextEditProfile;
  
inputtype "numbers";
  
width 80;
  
height 20;
  
50;
  
50;

__________________

Gund for president.

Remote PM {P*}x (Graal813044) from eraiphone -> Stefan: I hav 1 qustion
*Gunderak: he hav 1
*Gunderak: qustion
Reply With Quote
  #4  
Old 02-24-2013, 08:32 AM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Gunderak, that only shows numbers page first

GuiTextEditCtrl.inputtype - string - either password or default, on mobile devices also email,url and numbers

Doesn't just show numbers by themselves.
Reply With Quote
  #5  
Old 02-24-2013, 09:00 AM
Gunderak Gunderak is offline
Coder
Gunderak's Avatar
Join Date: Jun 2011
Location: Australia
Posts: 795
Gunderak is on a distinguished road
Oh wait landscape. Yeah actually it would be impossible unless graal was in portrait mode.
You could however code your own? Just make a class which shows a GUI when called etc.
And whoever neg repped for "stop trying". No. I will never stop trying.
__________________

Gund for president.

Remote PM {P*}x (Graal813044) from eraiphone -> Stefan: I hav 1 qustion
*Gunderak: he hav 1
*Gunderak: qustion
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.