Data Input Issues

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SteveHanlan
Posts: 80
Joined: Fri Jul 09, 2010 6:28 pm

Data Input Issues

Post by SteveHanlan » Mon Jun 20, 2011 5:56 pm

Does anyone else have any of the following issues ...

On iOS, when entering data into a text field, one touch of the shift key puts it into shift-lock mode.
On iOS, if you close the keyboard, you cannot tap the field to bring it back, (with traverse on).
On desktop, when entering data into a text field, you cannot click into the text, you have to use arrow keys to get to anywhere other than beginning or end
On iOS,when entering data into a text field, you cannot tap into a space in a sentence, (and as there are no left and right keys, you cannot edit existing text)

this is the only code I have on my data entry fields, (I only want numbers or dp for my numeric field, and no commas in my other fields)

Code: Select all

global whichfield

on keyDown theKey
   if whichfield="balance" then
      ## Check whether theKey is a number
      if theKey is not a number and theKey is not "." then
         ## beep to alert the user
         beep
      else
         ## pass keyDown up the message path
         pass keyDown
      end if
   else
      if theKey is "," then
         beep
      else
         pass keyDown
      end if
   end if
end keyDown
thanks for any help on this

Steve

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: Data Input Issues

Post by Jellicle » Wed Jun 22, 2011 5:12 am

Any reason you are not using a native text control?
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Post Reply