Beginner question: How can I see a list of properties?

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
golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Beginner question: How can I see a list of properties?

Post by golive »

Is there a way to see all the properties available for an object?

For example, all the properties for a button.

Also, is intellisense available while writing a script?
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10502
Joined: Wed May 06, 2009 2:28 pm

Re: Beginner question: How can I see a list of properties?

Post by dunbarx »

Hmmm.

Tough one.

Ah yes. There is a property called "the properties". Go get it. But be careful, it is an array.

Craig Newman
golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Re: Beginner question: How can I see a list of properties?

Post by golive »

I did say "Beginner" :D

Thanks for the pointer.

Is Intellisense available while typing?
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10502
Joined: Wed May 06, 2009 2:28 pm

Re: Beginner question: How can I see a list of properties?

Post by dunbarx »

Hi.

I have an abrasive personality. Do not worry about that at all.

More importantly, if you query a certain property of a control, like its "rect", you get a value in the clear. But if you extract "the properties", you get an array, as I said. Is this something you are familiar with? If not, you will get a very nice lesson and pretty good exercise if you look up the "combine" command in the dictionary.

I do not know that much about intellisense. The message box has a certain level of autocomplete, based on previous text it "learns". Others will likely chime in...

Craig
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Beginner question: How can I see a list of properties?

Post by FourthWorld »

I made a property sheet tool a while back you may find useful:
http://fourthworld.net/revnet/devolutio ... ops.rev.gz
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Randy Hengst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 157
Joined: Thu Jun 29, 2006 4:16 pm

Re: Beginner question: How can I see a list of properties?

Post by Randy Hengst »

That’s handy, Richard. Thanks for sharing.

be well,
randy
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Beginner question: How can I see a list of properties?

Post by jacque »

This easiest way is to open the dictionary, click on the type of control you want to examine in the left side list, and then click on the Type header at the top. That will sort the results by the type of keyword so that all properties are grouped together.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Re: Beginner question: How can I see a list of properties?

Post by golive »

FourthWorld wrote:I made a property sheet tool a while back you may find useful:
http://fourthworld.net/revnet/devolutio ... ops.rev.gz
Hi Richard

That looks like it would be useful. When I run it, there is an error and the scroll bars do not work.
Can you tell me how to get it to work?
23-07-2015 9-52-55 AM.png
TIA
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Beginner question: How can I see a list of properties?

Post by FourthWorld »

I just posted a newer version, which has bug fixes and no password protection. If you find error please send the recipe to ambassador AT fourthworld.com

Thanks -
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Re: Beginner question: How can I see a list of properties?

Post by golive »

FourthWorld wrote:I just posted a newer version, which has bug fixes and no password protection. If you find error please send the recipe to ambassador AT fourthworld.com
Thanks, it is very useful
I sent you an email.
golive
Posts: 98
Joined: Wed Jul 01, 2015 5:16 am

Re: Beginner question: How can I see a list of properties?

Post by golive »

jacque wrote:This easiest way is to open the dictionary, click on the type of control you want to examine in the left side list, and then click on the Type header at the top. That will sort the results by the type of keyword so that all properties are grouped together.
OIC. I was wondering where to see a complete list.

Most useful, thanks.
Post Reply