Page 1 of 1

LiveCode Property Reference Guide?

Posted: Fri May 24, 2013 10:13 am
by steveharman
Hello all,

The Dictionary in LC is of course an excellent resource for finding commands, syntax etc. But where do I find a similar reference / guide for object Properties?

Time after time I get stuck on something and after researching I end up posting on the forums, whereupon someone usually comes to my rescue with "Why not use [such & such] property of the object and...." which is fantastic and I'm very grateful, but with a searchable / categorised Property reference I could probably answer my own questions without bothering people here.

Objects seem to have such power in LC but take for example DataGrids - how would I know about pHilitedIndex unless some kind soul (thanks Klaus!) points out the functionality?

This post isn't meant as a criticism of LC, simply a "Where do I find a list of object capabilities? (properties) ?"

Thanks,

Steve

Re: LiveCode Property Reference Guide?

Posted: Fri May 24, 2013 10:33 am
by bn
Hi Steve,
Quote:
The Dictionary in LC is of course an excellent resource for finding commands, syntax etc. But where do I find a similar reference / guide for object Properties?

Properties are also in the dictionary but not quite as obvious.
First make shure in Preferences -> Documentation that you have ticked "Types"
Now in Dictionary choose the type of control you want to get to know the properties by expanding the Object pane
e.g. Object-> Graphic
Now do a sort in the dictionary by Type by clicking into the header "Type"
Then you will see all properties and messages that apply to the control type sorted alphabetically.

Also have a look in the Development Menu -> Plugins -> SmartProperties. A plugin pops up and in edit mode you select a control. Then you click the + sign in Smartproperties. It lists many of the properties of a control and you can change them from inside Smartproperties.

There is also a similar plugin from Richard Gaskin called 4_WProps.rev at
http://www.fourthworld.com/livecode/downloads.html

Kind regards
Bernd

Re: LiveCode Property Reference Guide?

Posted: Fri May 24, 2013 11:30 am
by BvG
Also note that all settings that you can do in the built in inspector palette are also properties. if you mouse over their labels, the toolTip should tell you which is which, and then you can look them up in the dictionary.

Re: LiveCode Property Reference Guide?

Posted: Fri May 24, 2013 12:30 pm
by steveharman
Hi Bernd,

Superb.. Thanks for all the information, I'm already using what I've learned from you! :-)

Regards,

Steve