Keyboard covers my textField when placed on botton of the screen.

Thanks for your reply, mpappas. Don´t you have a sample to share with us?

Thanks in advance

Hi FAVIO007,

In my case, I have my fields “tap” listener do the sliding / transition for the screen, and when it completes, it fires off a second function to call for editing the text… as so

[lua]

local function WebLinkEditListener2(event) – This is the second half – AFTER screen moves / transitions so keyboard can pop up…

    this.WebLinkText.isVisible = false    – Hide the onscreen text while editor is up…
    audio.play( mojoData._TapAudio, { channel=mojoData._sfxChannel, loops=0, fadein=0 }  )  – button tap sfx
    
    yOffset = 0 – editField code will note fields new / transition position, so yOffset 0 is ok (since field is part of group that moved)
       
    this.messageEditField = editField.new(this.WebLinkText.text, this.WebLinkBack, WebLinkEditDone, “url”, false, yOffset, 100)      – Field the user is editing… (native text field)
    this:insert(this.messageEditField)      – Add it to the display… (it’s native so no matter really)

    return true
end

 local function WebLinkEditListener(event)
    print(" – WebLinkEditListener(event)")
    audio.play( mojoData._InputAudio, { channel=mojoData._sfxChannel, loops=0, fadein=0 }  )  – special input field sfx
    
    transition.to(this, {y = -100, time=150, onComplete = WebLinkEditListener2} )  – fast slide up of screen… (this.y)
 
    return true
 end
 

[/lua]

You can try the newEditField widget. It has the capability to slide screen to cater for keyboard popup and many more features. See it at http://widgetstown.com/ and register for a free download and access to sample app etc. Documentation can also be found on the same URL. Hope this helps.