Object Properties

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
David_USA
Posts: 8
Joined: Sun Jun 29, 2008 6:30 pm
Contact:

Object Properties

Post by David_USA » Sun Jun 29, 2008 7:32 pm

How do I get a list of properties that can be set by scripting for any object I choose?

The object inspector does not give me a property label that I can script.

Thank You,

David

bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

Finding all properties

Post by bjb007 » Sun Jun 29, 2008 7:57 pm

David_USA

The search function is first stop for me
when I have a question.

Seach for "properties" and under the topic
"Finding all properties" you'll get a pretty
good answer.
Life is just a bowl of cherries.

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Sun Jun 29, 2008 9:09 pm

To get a list of all properties and their values by script try this:

I have this in a button, you will need to adapt it to your needs:

on mouseUp
local tProps
put the properties of me into tProps
combine tProps with cr and TAB
put tprops
end mouseUp

Hope that helps,

Malte

David_USA
Posts: 8
Joined: Sun Jun 29, 2008 6:30 pm
Contact:

Thank You

Post by David_USA » Sun Jun 29, 2008 11:22 pm

This gives me a start.

It did not give me all I was looking for.

Thank you for your help.

David

Post Reply