Custom Properties
Graham Pearson
gspearson at gmail.com
Thu Jun 27 11:11:16 EDT 2013
Well for somehow the custom property was being stored in one of the
SubStacks of the main stack and not within the main stack. Now to figure
out what I did to make this happen.
On 6/27/2013 10:36 AM, Andrew Kluthe wrote:
> Hmm, perhaps look some of these lessons over again to get a clearer
> understanding of whats custom properties are and how to use them in various
> ways.
>
> http://lessons.runrev.com/s/lessons/tags?tag=custom+properties
>
> The old user manual from when LC was still revolution (I believe it was
> from the Revolution 4.0 era) was also incredibly useful to me. I read it
> front to back when I first got started. It really gave me a clear
> understanding of stuff like the message path, custom properties, etc.
>
> I however can't find a link to the old style user manual. It also doesn't
> seem the info in it is translated to the new attempt at a "Developer's
> guide". Maybe someone on list can upload a PDF of the oldstyle user guide
> for you.
>
>
> On Thu, Jun 27, 2013 at 9:15 AM, Graham Pearson <gspearson at gmail.com> wrote:
>
>> Now I am very lost as usual. on my stack script I did the set script
>> with a new custom property called altNewCustomPropertythat has a value
>> of "http://www.google.com" and when I did the answer I got
>> http:/www.google.com
>>
>>
>> However, In the stack or in the card property inspector under custom
>> properties I do not see this custom property called altNewCustomProperty
>> so I must be trying to put the name/value items in the wrong location.
>>
>>
>> I would have thought that if I set a custom property it would have shown
>> up in the Property Inspector under Custom Property until the time it was
>> deleted if they can even be deleted via a script. Back to the drawing
>> board.
>>
>>
>>
>>
>> On 6/27/2013 9:54 AM, Roger Eller wrote:
>>> I confirmed that either of these works as long as you have first:
>>>
>>> *set* the cName of this stack to "Bla Bla Bla"
>>>
>>> *answer* the cName of this stack
>>>
>>> or
>>>
>>> *get* the cName of this stack; *answer* it
>>> ~Roger
>>>
>>>
>>> On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe <andrew at ctech.me> wrote:
>>>
>>>> Hmmm, is the data being returned by that custom property an array?
>> Array's
>>>> don't display as strings on answer dialogs, etc.
>>>>
>>>> Also, why move your global variables to custom properties? There are
>> some
>>>> pretty good use cases for both.
>>>>
>>>>
>>>> On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson <gspearson at gmail.com>
>>>> wrote:
>>>>
>>>>> As I am finishing up with my first application, I am now moving global
>>>>> variables to custom properties as recommended by other posts on this
>>>>> list and the RunRev lessons site.
>>>>>
>>>>> On the main stack I have created a custom property called
>>>>> altWebServerURL and custom contents of
>> http://www.yourcfpro.com/TestApp/
>>>>>
>>>>>
>>>>> In a RunRev lesson on custom properties it has a line that says:
>>>>>
>>>>> answer the cName of this stack
>>>>>
>>>>>
>>>>> which displayed the name entered from a field called name.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> If I do the answer line with my altWebServerURL all I get is a blank
>>>>> answer box with OK and not the value of what I defined within the
>>>>> property contents of this custom property.
>>>>>
>>>>>
>>>>>
>>>>> What am I doing wrong?
>>>>>
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Andrew Kluthe
>>>> andrew at ctech.me
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
More information about the use-livecode
mailing list