Custom Properties

Graham Pearson gspearson at gmail.com
Thu Jun 27 09:55:33 EDT 2013


In the custom contents of this custom property has text which is listed
as http://www.yourcfpro.com/TestApp. I also have other custom properties
where I have true or false values and they are all displaying blank
answer windows when I try to view them so I know I am doing something
wrong.

To answer the why is I am wanting to move away from Adobe Air/Flash to
LC and have been wading in water with Livecode for the past 3 years.
Over the past 3 months, I have spent hours each day working with LC to
finally make the switch as I move my desktop applications to LC. I can
see the possibilities in my daily work environment with LC and some
possibilities with mobile applications as an extra enhancement to the
dynamic websites I have already created. The piece of the puzzle I have
been missing with Adobe Air/Flash is the mobile section.

How I have always learned something is to create something that I need
in my daily work environment in education as this allows me to retain
the information even though I know it will be very frustrating learning
on a training budget of $0.00 and using Google,Ask, Mailing Lists and
viewing other peoples code to understand techniques and best practices.
As I update my application to work out the issue of updating
automatically, the stacks I have found online use custom properties and
were written in pre Livecode days and I can not get them to work in my
project which I get same result when I try to debug the custom properties.

I am just trying to learn this to find out which way is best for this
specific application as this application might be best with global
variables and another might be best with custom properties.


On 6/27/2013 9:31 AM, Andrew Kluthe 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
>>
> 
> 
> 





More information about the use-livecode mailing list