Focusable and other words
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Focusable and other words
Hi,
Where can I get a list of what words appear in the properties panel vs what they actually are, for the purpose of scripting?
For example, there's a "focusable" button in the panel for text objects. What's the script equivalent?
Thank you!
-Chilton
Where can I get a list of what words appear in the properties panel vs what they actually are, for the purpose of scripting?
For example, there's a "focusable" button in the panel for text objects. What's the script equivalent?
Thank you!
-Chilton
Re: Focusable and other words
Hi Chilton,
do this:
1. open the Preferences in Livecode
2. Section "General", on top of the chard check "Property labels are" -> "Name of Livecode property"
3. Close the prefs and now you see the Livecode terms in the property inspector
Best
Klaus
do this:
1. open the Preferences in Livecode
2. Section "General", on top of the chard check "Property labels are" -> "Name of Livecode property"
3. Close the prefs and now you see the Livecode terms in the property inspector

Best
Klaus
Re: Focusable and other words
Fantastic!
That saves a ton of time and removes most of the remaining issues I've been running into.
I'm not sure why they decided against using the right terms to begin with, or at least some version of them, but at this point I just want the product done so I don't care
-Chilton
That saves a ton of time and removes most of the remaining issues I've been running into.
I'm not sure why they decided against using the right terms to begin with, or at least some version of them, but at this point I just want the product done so I don't care

-Chilton
Re: Focusable and other words
Hi.
It was just for readability. For example "focus" is a native command, and it is easy to see what it means. If you set the "focusable" of an object in the inspector, you similarly sort of get what you are doing to that object, even though there is no such word in the dictionary.
The 'traversalOn" property is the actual property that allows the user to "focus" on an object, that is, to have the object pay any attention at all to a mouseClick, say. This property name, whatever you think about it, is not terribly intuitive. Hence the preference option. Most other changes, if you toggle the preference as you watch the inspector, simply rewrite the descriptive name to the property name. Mostly, only the case and number of words changes.
Craig Newman
It was just for readability. For example "focus" is a native command, and it is easy to see what it means. If you set the "focusable" of an object in the inspector, you similarly sort of get what you are doing to that object, even though there is no such word in the dictionary.
The 'traversalOn" property is the actual property that allows the user to "focus" on an object, that is, to have the object pay any attention at all to a mouseClick, say. This property name, whatever you think about it, is not terribly intuitive. Hence the preference option. Most other changes, if you toggle the preference as you watch the inspector, simply rewrite the descriptive name to the property name. Mostly, only the case and number of words changes.
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 10050
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Focusable and other words
Traversal comes from the old Motif world, where MetaCard was born, referring to the ability to traverse controls with the keyboard. Adding "On" to it seems redundant, and in the modern multi-platform world, where we use different nomenclature for that, this is among the things I'm hoping Open Language can help us clean up by providing more memorable synonyms for.dunbarx wrote:The 'traversalOn" property is the actual property that allows the user to "focus" on an object, that is, to have the object pay any attention at all to a mouseClick, say. This property name, whatever you think about it, is not terribly intuitive.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Focusable and other words
You can set the preferences to show the "intuitive" names in the property inspector and when you hover the mouse cursor over the name, you should get a tooltip that indicates the property name. I find that the best of both worlds, obviously you can decide for yourself.