Livecode dictionary

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Livecode dictionary

Post by MaxV » Thu Sep 25, 2014 9:54 am

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?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Livecode dictionary

Post by dave.kilroy » Thu Sep 25, 2014 10:25 am

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
"...this is not the code you are looking for..."

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Livecode dictionary

Post by MaxV » Thu Sep 25, 2014 4:46 pm

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?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Livecode dictionary

Post by dave.kilroy » Thu Sep 25, 2014 6:16 pm

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
"...this is not the code you are looking for..."

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Livecode dictionary

Post by jacque » Fri Sep 26, 2014 6:07 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Livecode dictionary

Post by MaxV » Mon Sep 29, 2014 2:41 pm

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.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Livecode dictionary

Post by dave.kilroy » Mon Sep 29, 2014 2:55 pm

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 :)
"...this is not the code you are looking for..."

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Livecode dictionary

Post by [-hh] » Mon Sep 29, 2014 3:39 pm

Elegant, clear structure (not overloaded), very fast and free:
http://bjoernke.com/bvgdocu/bvg_docu_2.rev (use as plugin).
shiftLock happens

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Livecode dictionary

Post by jacque » Mon Sep 29, 2014 7:51 pm

Thanks guys, I'm glad it was useful. We don't get much feedback on our talks.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply