Is there a standardized List of Properties and Handlers for each control?
Push Button
Handlers
mouseDown
mouseMove
mouseUp
????
Properties
name (string value)
label (string value)
toolTip (string value)
style (string value)
visible (true/false)
opaque (true/false)
showName (true/false)
etc....
????
Text Entry Field
Handlers
mouseDown
mouseMove
mouseUp
textChange ????
????
Properties
name (string value)
toolTip (string value)
disabled (true/false)
visible (true/false)
opaque (true/false)
etc....
????
(I had this list formatted but that seems to be removed)
This would be a big help if there was such a thing for download. Tutorials are fine and I've learned some from them, but a reference such as this would be a big help.
At this point I'm reduced to guessing.
A lot of false starts and frustrated attempts.
Reference of Standard Handlers & Properties
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Reference of Standard Handlers & Properties
Hi Perry,
hello and welcome to the forum!
I do not know if a list a you describe is available somewhere, but you can open the dictionary
(Menu: Help, first menuitem) and check the left side, where you will find all available messages
etc. for a specific object.
You may also want to look at these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
hello and welcome to the forum!

I do not know if a list a you describe is available somewhere, but you can open the dictionary
(Menu: Help, first menuitem) and check the left side, where you will find all available messages
etc. for a specific object.
You may also want to look at these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
Re: Reference of Standard Handlers & Properties
Hi.
Use the "properties" property to find all, er, properties. Note that the result of using this is an array. You may want to:
Handlers? These are entirely within the purview of the programmer. There are no prepackaged handlers of any kind. That said, some complex objects like dataGrids have many handlers built-in indeed, as well as behaviors and properties.
Craig Newman
Use the "properties" property to find all, er, properties. Note that the result of using this is an array. You may want to:
Code: Select all
on mouseUp
get the properties of yourControl
combine it with return
answer it
end mouseUp
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Reference of Standard Handlers & Properties
I think the OP means the messages that handlers can respond to. As Klaus pointed out, and as I was delighted to learn (thanks Klaus) is that the Dictionary can be filtered by object type to provide a list of all token, including both properties and messages, relevant to that object type. There's also a column for token type, and sorting by the column can quickly produce a convenient list of everything requested.dunbarx wrote:Handlers? These are entirely within the purview of the programmer. There are no prepackaged handlers of any kind. That said, some complex objects like dataGrids have many handlers built-in indeed, as well as behaviors and properties.
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