Application Information - how to read from settings

J. Landman Gay jacque at hyperactivesw.com
Mon May 10 23:58:00 EDT 2010


Richard Gaskin wrote:
> Mark Stuart wrote:
>> Hi Richard,
>> I placed a button on the Main stack and put this script into it:
>>
>> on mouseUp
>>    put the cRevStandaloneSettings of this stack into tSettings
>>    answer tSettings
>> end mouseUp
>>
>> but it displayed nothing in the dialog.
>>
>> What am I missing?
> 
> That's a custom property set, not a single property.  To get those 
> values you can do this:
> 
>   put the customPropertySet["cRevStandaloneSettings"] \
>    of stack "MyStack" into tMyArray
> 
> That gives you the array of data; you can see all the values with:
> 
>   combine tMyArray with return and tab
>   put tMyArray

That'd be best because you'd get a text listing. But Mark, if you just 
want to look at them, you can also do this:

Turn on Revolution UI Elements in Lists in the View menu.
Open the property inspector for the stack.
In the custom properties pane, look for the cRevStandaloneSettings 
property set.
Click on it and all the properties will display.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list