Paul, sorry but this did not do anything. I am still allowed to type in any character.
Also, I want to block all keys, including the spacebar, from being pressed except for a-z, not just uppercase A-Z
Thankyou,
Cooper.
Search found 4 matches
- Sat May 07, 2016 8:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to limit data entry to only lowercase letters?
- Replies: 13
- Views: 11235
- Sat May 07, 2016 6:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to limit data entry to only lowercase letters?
- Replies: 13
- Views: 11235
How to limit data entry to only lowercase letters?
I am making a two-player hangman game, and I have set a limit of 10 characters which is working fine:
on keyDown
if the length of me = 10 then
beep
else
pass keyDown
end if
end keyDown
However, when I try to limit the character input to only lowercase characters, nothing seems to happen. I ...
on keyDown
if the length of me = 10 then
beep
else
pass keyDown
end if
end keyDown
However, when I try to limit the character input to only lowercase characters, nothing seems to happen. I ...
- Fri May 06, 2016 10:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to include variables within a string?
- Replies: 5
- Views: 5280
Re: How to include variables within a string?
Hello, thankyou for the replies. However, I am still confused as to how to fix my problem..
Would someone please write up my code again with the variables included in the string? Thankyou.
Would someone please write up my code again with the variables included in the string? Thankyou.
- Fri May 06, 2016 1:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to include variables within a string?
- Replies: 5
- Views: 5280
How to include variables within a string?
I have a piece of code that I am trying to run, however I am trying to include variables as part of my string. This can be found in the line
put "A" into field "Field_(position)_(lettersinword)
I would like the name of the field being referenced to change according to the value of the variables ...
put "A" into field "Field_(position)_(lettersinword)
I would like the name of the field being referenced to change according to the value of the variables ...