Custom Properties

Andrew Kluthe andrew at ctech.me
Thu Jun 27 09:31:50 EDT 2013


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



More information about the use-livecode mailing list