Focusable and other words

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Chilton
Posts: 10
Joined: Sat Aug 17, 2013 3:52 pm

Focusable and other words

Post by Chilton »

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
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Focusable and other words

Post by Klaus »

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 :D


Best

Klaus
Chilton
Posts: 10
Joined: Sat Aug 17, 2013 3:52 pm

Re: Focusable and other words

Post by Chilton »

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 :D

-Chilton
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10507
Joined: Wed May 06, 2009 2:28 pm

Re: Focusable and other words

Post by dunbarx »

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
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Focusable and other words

Post by FourthWorld »

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.
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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
SparkOut
Posts: 2987
Joined: Sun Sep 23, 2007 4:58 pm

Re: Focusable and other words

Post by SparkOut »

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.
Post Reply