Re: Custom properties of IDE palettes?

2018-01-10 Thread Geoff Canyon via use-livecode
AHA! (thanks) gc On Wed, Jan 10, 2018 at 3:56 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > > The 'cLocked' is a getProp/setProp (virtual) custom property, which is why > it doesn't appear in the customKeys. > > Warmest Regards, > > Mark. ___

Re: Custom properties of IDE palettes?

2018-01-10 Thread Mark Waddingham via use-livecode
On 2018-01-10 02:20, Geoff Canyon via use-livecode wrote: But they do. Specifically, stack "revPropertyInspector 1" is not a script-only stack. It has many objects, and it does have custom properties. For example, this locks the inspector to its current object: set the cLocked of stack "revPro

Re: Custom properties of IDE palettes?

2018-01-09 Thread Geoff Canyon via use-livecode
(I should add that I am using 8.1.8, the community edition, on Mac) On Tue, Jan 9, 2018 at 8:20 PM, Geoff Canyon wrote: > But they do. Specifically, stack "revPropertyInspector 1" is not a > script-only stack. It has many objects, and it does have custom properties. > For example, this locks the

Re: Custom properties of IDE palettes?

2018-01-09 Thread Geoff Canyon via use-livecode
But they do. Specifically, stack "revPropertyInspector 1" is not a script-only stack. It has many objects, and it does have custom properties. For example, this locks the inspector to its current object: set the cLocked of stack "revPropertyInspector 1" to true On Tue, Jan 9, 2018 at 6:07 PM, A

Re: Custom properties of IDE palettes?

2018-01-09 Thread Ali Lloyd via use-livecode
I don't think they have any custom properties... at least, if they do then they don't do anything. They are script-only stacks & behaviors that generate the UI; they don't use custom props for their functionality. On Tue, Jan 9, 2018 at 8:40 PM Geoff Canyon via use-livecode < use-livecode@lists.ru

Re: Custom Properties

2013-06-28 Thread Peter M. Brigham
On Jun 27, 2013, at 11:11 AM, Graham Pearson wrote: > 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. Perhaps at the time you set the customprop the topstack was li

Re: Custom Properties

2013-06-27 Thread Richard Gaskin
Graham Pearson 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. What are you looking to achieve with this conversion? Most programming languages include support f

Re: Custom Properties

2013-06-27 Thread Thomas McGrath III
Graham, When ever possible paste the code you are using and the version of Livecode. It will be a lot easier to give an answer. If you want to put quotes into a customProperty you have to use: set the cAddress of this card to quote & "http://www.google.com"; & quote and then you can us

Re: Custom Properties

2013-06-27 Thread Paul Maguire
I can confirm the following works: Create new stack Add custom property "someProperty" and set to http://google.com Answer (the someProperty of thisCard) pops open a modal dialog with the URL as expected Perhaps there is a bogus invisible character somewhere in the URL? Perhaps delete custom prop

Re: Custom Properties

2013-06-27 Thread Graham Pearson
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 > un

Re: Custom Properties

2013-06-27 Thread Alan Stenhouse
to set one of these properties please? On 27/06/2013, at 4:14 PM, gspear...@gmail.com wrote: > From: Graham Pearson > To: How to use LiveCode > Subject: Re: Custom Properties > Message-ID: <51cc48fb.4060...@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > No

Re: Custom Properties

2013-06-27 Thread Andrew Kluthe
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 Rev

Re: Custom Properties

2013-06-27 Thread Graham Pearson
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 propert

Re: Custom Properties

2013-06-27 Thread Graham Pearson
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 answe

Re: Custom Properties

2013-06-27 Thread Roger Eller
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 wrote: > Hmmm, is the data being returned by

Re: Custom Properties

2013-06-27 Thread Mike Kerner
Isn't there an issue of speed (although not a big difference) where custom properties are slower than globals? On Thu, Jun 27, 2013 at 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. >

Re: Custom Properties

2013-06-27 Thread Andrew Kluthe
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 wrote: > As I am

Re: Custom Properties

2010-11-23 Thread Jonathan Lynch
take it in as a binfile: set the myCustomProp of button "MyButton" to url "binfile:c:/filepath/filename.txt" On Tue, Nov 23, 2010 at 5:10 PM, Charles Szasz wrote: > How do I put a RTF file into custom properties so that it can be stored in > a standalone for windows? > > Charles Szasz > csz...@m