Page 1 of 1

Livecode dictionary

Posted: Thu Sep 25, 2014 9:54 am
by MaxV
Hi,
I noted that the columns of the livecode dictionary has "button", "field" and other objects name for column.
If you add those column some message has a check for that column/row: what does it mean?

Re: Livecode dictionary

Posted: Thu Sep 25, 2014 10:25 am
by dave.kilroy
Great question - and this feature of the dictionary is something I only stumbled across yesterday...
  • 1 - Right-click on the dictionary column-headers and ensure that a couple of objects are ticked (for example 'button' and 'graphic')
    2 - Click the arrow glyph beside the 'Objects' in the left-hand list to reveal a sub-list of objects
    3 - Select 'button' or 'graphic' from that list
    4 - Observe how the 'button' or 'graphic' column in the top pane of the dictionary is now 100% populated with ticks
    5 - Observe that the "Objects (or Types)" line in the bottom pane of the dictionary will always mention the chosen object type
Pretty neat huh?

Kind regards

Dave

Re: Livecode dictionary

Posted: Thu Sep 25, 2014 4:46 pm
by MaxV
So does it show the properties applicable to an object or not?
and if I want to know all the message applicable to an object, what can I do?

Re: Livecode dictionary

Posted: Thu Sep 25, 2014 6:16 pm
by dave.kilroy
I'm sure that filtering the dictionary in this way will show up the most commonly used properties - but I'm not confident it will provide all of them. I think Pete Haworth's lcStackBrowser http://www.lcsql.com/lcstackbrowser.html does provide a much fuller (and possibly complete) list for $30 - however I've never used it so can't vouch for it (but have used his SQLiteAdmin which is a great tool).

As regards messages, just look in the 'Type' column when you have filtered by a particular object in the dictionary as it will indicate whether an entry is a property or a message

Was there some things in particular you were looking for?

Kind regards

Dave

Re: Livecode dictionary

Posted: Fri Sep 26, 2014 6:07 pm
by jacque
MaxV wrote:So does it show the properties applicable to an object or not?
and if I want to know all the message applicable to an object, what can I do?
Select the object in the left-side column. Then click on the Type header above the list of terms. All the properties will be sorted together, and all the messages will be together, etc. It is a complete list.

Re: Livecode dictionary

Posted: Mon Sep 29, 2014 2:41 pm
by MaxV
jacque wrote:
MaxV wrote:So does it show the properties applicable to an object or not?
and if I want to know all the message applicable to an object, what can I do?
Select the object in the left-side column. Then click on the Type header above the list of terms. All the properties will be sorted together, and all the messages will be together, etc. It is a complete list.
I don't see the MouseUp message. I posted this topic since a new user asked this to me.
Frankly it's hard to know which message can be applied to an object and what can't, especially for beginners.
For example menuPick message is just for option menu button.

P.S. Your presentations at RunRevLive were fantastic.

Re: Livecode dictionary

Posted: Mon Sep 29, 2014 2:55 pm
by dave.kilroy
mouseUp is there in the dictionary (make sure you have 'All' selected in the left-hand column) - and yes we are lucky to have Jacque :)

Re: Livecode dictionary

Posted: Mon Sep 29, 2014 3:39 pm
by [-hh]
Elegant, clear structure (not overloaded), very fast and free:
http://bjoernke.com/bvgdocu/bvg_docu_2.rev (use as plugin).

Re: Livecode dictionary

Posted: Mon Sep 29, 2014 7:51 pm
by jacque
Thanks guys, I'm glad it was useful. We don't get much feedback on our talks.