Page 1 of 1
Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 4:10 am
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?
Re: Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 4:30 am
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
Re: Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 5:31 am
by golive
I did say "Beginner"
Thanks for the pointer.
Is Intellisense available while typing?
Re: Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 6:12 am
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
Re: Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 2:47 pm
by FourthWorld
I made a property sheet tool a while back you may find useful:
http://fourthworld.net/revnet/devolutio ... ops.rev.gz
Re: Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 3:21 pm
by Randy Hengst
That’s handy, Richard. Thanks for sharing.
be well,
randy
Re: Beginner question: How can I see a list of properties?
Posted: Wed Jul 22, 2015 3:47 pm
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.
Re: Beginner question: How can I see a list of properties?
Posted: Thu Jul 23, 2015 12:57 am
by golive
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?
TIA
Re: Beginner question: How can I see a list of properties?
Posted: Thu Jul 23, 2015 1:43 am
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 -
Re: Beginner question: How can I see a list of properties?
Posted: Thu Jul 23, 2015 3:10 am
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.
Re: Beginner question: How can I see a list of properties?
Posted: Thu Jul 23, 2015 3:12 am
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.