Keyboard Help

How can I use keyboard without that white square?? [import]uid: 23063 topic_id: 18181 reply_id: 318181[/import]

That “white square” is a field for text input - so at this time, no. Sorry!

Peach [import]uid: 52491 topic_id: 18181 reply_id: 69539[/import]

So can you tell me how the guys of app of the week ( santa ) did?

I donwloaded his app and don’t have this Field so I was thinking how did they do that =S

there is another option?

Thanks for reply Peach [import]uid: 23063 topic_id: 18181 reply_id: 69553[/import]

and how can I limit the characters like santa is?

Thanks [import]uid: 23063 topic_id: 18181 reply_id: 69561[/import]

Hey there,

As far as I can tell they do have this field, they’ve just made the alpha 0.1.

So make a field like this; http://developer.anscamobile.com/reference/index/nativenewtextfield

Then set the alpha at 0.1. It will still show a shape but it will be much, much dimmer - still not invisible, though.

Peach :slight_smile:


[import]uid: 52491 topic_id: 18181 reply_id: 69637[/import]

in their application, is completely transparent =S

and when I tryed to do alpha = 0.01 to make it transparent
in device the keyboard don’t shows [import]uid: 23063 topic_id: 18181 reply_id: 69644[/import]

another think… if I put alpha my text become transparent too and in santa’s app not =S

realy don’t know what those guys did this =S
someone knows anything about it?

I’m realy need this for my app =T [import]uid: 23063 topic_id: 18181 reply_id: 69666[/import]

There’s a possibility they’re using Text Candy, or have written their own alternative. (Link: http://www.x-pressive.com/TextCandy_Corona/reference.html )

You could always ask them how they achieved it or use premium support for custom code.

Peach :slight_smile: [import]uid: 52491 topic_id: 18181 reply_id: 69683[/import]

I havent actually looked at this santa app your on about, but theres a chance they are using a native.newTextBox.

If you make that editable using…

object.isEditable = true  

and then make its background invisible…

object.hasBackground = false  

then that may give you the desired effect. [import]uid: 69826 topic_id: 18181 reply_id: 69688[/import]

@TandG

TandG… sorry about that but… I love you man hehehehe you save my day!

and Peach, this text candy is interesting I will look at this site!
There’s a characters count?
Thanks again [import]uid: 23063 topic_id: 18181 reply_id: 69721[/import]

another question about keyboards…

keyboardHandler = function(event)  
 if event.phase == "began" then  
 LloginField.text = ""  
  
 elseif event.phase == "submitted" then  
 native.setkeyboardFocus( nil )  
 end  
 end  
  
  
  
 LloginField = native.newTextField( \_W/2 + 55, 180, 235, 40, keyboardHandler )  
 LloginField.font = native.newFont( nil, 25 )  
 LloginField.text = "UserName Here"  
 LloginField.inputType = "email"  
 LloginField:setTextColor( 0, 84, 166 )  
 g:insert( LloginField )  
  

why when I open keyboard the LlogindField.text don’t change to “”?
[import]uid: 23063 topic_id: 18181 reply_id: 69745[/import]