Focusable vs. Locked Text

Jeanne A. E. DeVoto revolution at jaedworks.com
Sat Oct 1 12:59:33 EDT 2005


At 7:58 AM -0400 9/30/2005, AbilityForms at aol.com wrote:
>Is there a difference between focusable and locked text in the basic
>properties of a field? If so what is that difference?


Focusable (the traversalOn property) means you can select in a field. 
Locked text (the lockText property) means the user can change the 
text.

In practice, there are three useful combinations:

1. traversalOn false, lockText true: a "locked-down" field. Use for 
labels, fixed information, etc.

2. traversalOn true, lockText false: an "open" field. Use for any 
field that the user has to enter text in.
3. traversalOn true, lockText true: a "selectable" field: text can be 
selected and copied but can't be changed. Use for a field that you 
don't want the user to change, but that they might want to copy text 
from.


I've never discovered a use for the fourth combination: traversalOn 
false, lockText false.
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com



More information about the use-livecode mailing list