IDE Property Editor for Custom Properties error

2022-05-18 Thread Paul Dupuis via use-livecode
This bug probably won't impact many people, but I just reported bug https://quality.livecode.com/show_bug.cgi?id=23712 In older versions of LC you could have custom property keys that had commas in them, such as a key like "topic,subtopic" for a online help system. The current (and recent)

Re: Accessing array custom properties

2021-10-26 Thread Craig Newman via use-livecode
Hi. An array variable is just a variable, it is not a property. You cannot “make” one into the other. So, basically, put the pArrayName[pElementName] of button “button” is just syntax that does not exist in the lexicon, for the above reason. Craig > On Oct 25, 2021, at 11:18 PM, Neville

Re: Accessing array custom properties

2021-10-26 Thread Niggemann, Bernd via use-livecode
> Neville Smythe via use-livecode Mon, 25 Oct 2021 20:20:34 -0700 wrote: > > 4. BUT (annoyingly) this fails, giving an empty result: put the > pArrayName[pElementName] of button “button” > > Why? If 3 works, I would have thought the parser would substitute values for > all variables

Accessing array custom properties

2021-10-25 Thread Neville Smythe via use-livecode
Is there a logic behind the following? I want the values of a custom property which is an array: to take a specific example the dropShow of button “button” and I want the specific element color Of course I can write: put the dropShadow of button “button” into aa; put aa[color] Conveniently

Re: Stacks and Custom properties

2020-03-10 Thread Richmond via use-livecode
variables, that would work but it begs the question, why? Variables are easier to reference in your code. Bob S On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode wrote: Absolutely. I keep most of my variables in stack custom properties

Re: Stacks and Custom properties

2020-03-10 Thread Kaveh Bazargan via use-livecode
t it > begs the question, why? Variables are easier to reference in your code. > > Bob S > > > > On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > >

Re: Stacks and Custom properties

2020-03-10 Thread Bob Sneidar via use-livecode
are using this just for runtime variables, that would work but it begs the question, why? Variables are easier to reference in your code. Bob S > On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode > wrote: > > Absolutely. I keep most of my variables in stack custo

Re: Stacks and Custom properties

2020-03-10 Thread dunbarx--- via use-livecode
Sure. Any object that has an inspector, and that means everything, can hold custom properties. Open the stack inspector and check it out. The trick is to know where to place these things. It depends on what is going to need them. In a sense, you might think they ought to fall into some sort

Re: Stacks and Custom properties

2020-03-10 Thread Kaveh Bazargan via use-livecode
Absolutely. I keep most of my variables in stack custom properties. On Tue, 10 Mar 2020 at 10:36, Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > Can a stack have custom properties? > > Richmond. > > ___ > u

Stacks and Custom properties

2020-03-10 Thread Richmond via use-livecode
Can a stack have custom properties? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Tree View / Custom Properties PI

2018-08-10 Thread Curry Kenworthy via use-livecode
Brian: > So, it looks like adding 4 lines of code to the IDE > and changing 1 word in the Tree View widget source > can remove a few of the irritation points. Nice! Thanks for looking into this part of it. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and

Re: Tree View / Custom Properties PI

2018-08-10 Thread Brian Milby via use-livecode
Events are sent when the button is clicked, just need to verify everything. It may require a different message, but have not gotten that far. Modifying the widget is easy though. Thanks, Brian On Aug 10, 2018, 10:24 AM -0500, Bob Sneidar via use-livecode , wrote: > And the + button is actually

Re: Tree View / Custom Properties PI

2018-08-10 Thread Bob Sneidar via use-livecode
And the + button is actually an element of the treeview widget, so good luck with that. You would have to trap for an event when the + button is clicked, and I think if I understand widgets, that the event would have to be exposed to the IDE by the widget. Bob S > On Aug 10, 2018, at 08:19

Re: Tree View / Custom Properties PI

2018-08-10 Thread Bob Sneidar via use-livecode
You would need to set the focus to the field for the key value when the + button was clicked. Unfortunately, the revInspector stack has a blank card, so apparently it is built "on the fly". I cannot discern what the field name or the + button name is. Bob S > On Aug 9, 2018, at 22:01 ,

Tree View / Custom Properties PI

2018-08-09 Thread Brian Milby via use-livecode
Before going too far, I'd like to get some feedback on the best way to address one of the issues that Curry brought up. Currently, when in the Tree View widget (which is used in the Custom Properties PI), if you click on the "+" icon to add a new array key, the value in the existing k

Re: Property inspector / custom properties - how can i resize the value field

2018-07-17 Thread Richmond Mathewson via use-livecode
That is a really silly problem which meant that I had to set 12 custom props 4 times before I worked out how to do something that should be rather more intuitive. Richmond. On 17/7/2018 5:51 pm, Bob Sneidar via use-livecode wrote: You may be referring to the issue when setting the value of a

Re: Property inspector / custom properties - how can i resize the value field

2018-07-17 Thread Richmond Mathewson via use-livecode
Having worked with LiveCode 8 extensively now I can say that the Property palette is far far more awkward to use thatn the LiveCode 7 one, and I wish there were an easy way to revert to that property palette. Richmond. On 17/7/2018 1:59 pm, Curry Kenworthy via use-livecode wrote: Bob: > I

Re: Property inspector / custom properties - how can i resize the value field

2018-07-17 Thread Bob Sneidar via use-livecode
You may be referring to the issue when setting the value of a custom prop, if you click away, like to another stack or tool after editing in the value field, the prop will not retain the value you entered. Also clicking on another property will not retain the value. You have to tab out or click

Re: Property inspector / custom properties - how can i resize the value field

2018-07-17 Thread Curry Kenworthy via use-livecode
Bob: > I find that when I create a new property, or a new element > in an existing property, having th click on the property, then > on the name of the property is annoying. Absolutely, and it's actually training people to learn and use inefficient actions. Conceptually and with muscle

Re: Property inspector / custom properties - how can i resize the value field

2018-07-17 Thread Matthias Rebbe via use-livecode
Mark, but even then the “value” field still shows 3 lines of text and cannot be resized > Am 17.07.2018 um 01:33 schrieb Mark Wieder via use-livecode > : > > On 07/16/2018 02:00 PM, panagiotis merakos via use-livecode wrote: >> Hi all, >> Thank you for the feedback. >> We are aware of this

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Mark Wieder via use-livecode
On 07/16/2018 02:00 PM, panagiotis merakos via use-livecode wrote: Hi all, Thank you for the feedback. We are aware of this problematic behavior. There is a bug report about it: https://quality.livecode.com/show_bug.cgi?id=20701 Also https://quality.livecode.com/show_bug.cgi?id=19880 and by

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread panagiotis merakos via use-livecode
ges to the > > property inspector. and try to automate the resizing. > > > > On Mon, Jul 16, 2018 at 3:34 PM, Matthias Rebbe via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > >> Hi, > >> is there a way to resize the value fiel

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Matthias Rebbe via use-livecode
Rebbe via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi, >> is there a way to resize the value field for custom properties in the >> Property Inspector? It just shows 3 lines. I think that is not enough, >> especially if one wants to store la

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Bob Sneidar via use-livecode
And since we are talking about it some more, open a property inspector pallet. Expand the pallet size so that the property pane gross. Now resize again only this time smaller. The property pane does NOT shrink with the pallet, but instead introduces scroll bars. That is a bit irritating too. I

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Bob Sneidar via use-livecode
Sorry I misunderstood you. Bob S > On Jul 16, 2018, at 13:11 , Matthias Rebbe via use-livecode > wrote: > > Bob, that doesn´t work. The list field of the custom properties expands, but > the value field at the bottom still keeps its size and there is no w

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Matthias Rebbe via use-livecode
Bob, that doesn´t work. The list field of the custom properties expands, but the value field at the bottom still keeps its size and there is no way to resize it. > Am 16.07.2018 um 22:06 schrieb Bob Sneidar via use-livecode > : > > I believe if you expand the entire proper

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Bob Sneidar via use-livecode
Well since we are talking about it, I find that when I create a new property, or a new element in an existing property, having th click on the property, then on the name of the property is annoying. The same thing holds true for the property inspector and datagrids. You have to add a column,

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Tom Glod via use-livecode
. On Mon, Jul 16, 2018 at 3:34 PM, Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi, > is there a way to resize the value field for custom properties in the > Property Inspector? It just shows 3 lines. I think that is not enough, > especially if one wan

Re: Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Bob Sneidar via use-livecode
I believe if you expand the entire property inspector pallette, the properties panel will expand. Bob S > On Jul 16, 2018, at 12:34 , Matthias Rebbe via use-livecode > wrote: > > Hi, > is there a way to resize the value field for custom properties in the > Property

Property inspector / custom properties - how can i resize the value field

2018-07-16 Thread Matthias Rebbe via use-livecode
Hi, is there a way to resize the value field for custom properties in the Property Inspector? It just shows 3 lines. I think that is not enough, especially if one wants to store larger text files there. Older versions of LC allowed to resize that field if i remember right. Why was that changed

Re: Data in Custom properties

2018-06-22 Thread Ali Lloyd via use-livecode
ode@lists.runrev.com> wrote: > hey malte . the custom properties and array encoding changed with v7 > its safe to say that is the cause of any issues with character > encoding. ...i store binaries and strings in custom properties . so i > think internally it would m

Re: Data in Custom properties

2018-06-22 Thread Tom Glod via use-livecode
hey malte . the custom properties and array encoding changed with v7 its safe to say that is the cause of any issues with character encoding. ...i store binaries and strings in custom properties . so i think internally it would make sense that its a binary. On Thu, Jun 21, 2018

Data in Custom properties

2018-06-21 Thread Malte Pfaff-Brill via use-livecode
Hi all, I am a little bit puzzled. a stack I started way back in engine 4.x always had a custom property set with multiple UTF8 encoded strings. Those were transferred just fine from Mc to PC and the UTF8 strings remained intact. Somewhere down the road something seems to have changed.

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 cLocke

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 <gcan...@gmail.com> wrote: > But they do. Specifically, stack "revPropertyInspector 1" is not a > script-only stack. It has many objects, and it does

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, Ja

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-l

Custom properties of IDE palettes?

2018-01-09 Thread Geoff Canyon via use-livecode
I'm exploring the LC 8 IDE. If I type in the message box: put the customkeys of the mouseStack and put the pointer over the message box, I press return and see a list of custom properties: cREVIntelligenceObject cREVLeft cREVTopLeft etc But if I put the pointer over the Tools palette

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Dr. Hawkins via use-livecode
On Wed, Feb 8, 2017 at 1:34 PM, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > All properties and > values were copied. > They had been for me until recently. At this point, I have it cleared, but I'm suspecting a deeper bug is behind it. I had set the properties for a

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread J. Landman Gay via use-livecode
On 2/8/17 3:34 PM, Paul Dupuis via use-livecode wrote: Now I was reminded the the custom property tab in the Project Browser is wacky - I would click the add new element "plus", select the default "1" for the key, rename it, click in the value box and enter a value and then click on the plus for

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread panagiotis merakos via use-livecode
> >>I have not yet checked 8.1.3 to see if that bug of the Project > Browser is one of the many things fixed in 8.1.3. > @Paul I guess you mean "Property Inspector", and yes, it is fixed :) http://quality.livecode.com/show_bug.cgi?id=18302 @Richard Could you please file a bug, including a

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Paul Dupuis via use-livecode
On 2/8/2017 2:03 PM, Dr. Hawkins via use-livecode wrote: > more hair-pulling time . . . > > I paste a group from a source stack to an output stack in a script. > > Some, but not all, of the custom properties that I set survive this pasting. > > For example, my source field

some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Dr. Hawkins via use-livecode
more hair-pulling time . . . I paste a group from a source stack to an output stack in a script. Some, but not all, of the custom properties that I set survive this pasting. For example, my source field has properties mrgns, txtFnt, txtSiz, and txtHgt. Its group, supergroups, card, and stack

Re: are custom properties not supposed to be sorted in inspectors in 8?

2016-10-19 Thread Monte Goulding
> On 20 Oct 2016, at 11:21 AM, Dr. Hawkins wrote: > > Isn't this a one-line insertion to fix between collecting them into a field > or variable, and displaying it? Yes probably ___ use-livecode mailing list

Re: are custom properties not supposed to be sorted in inspectors in 8?

2016-10-19 Thread Dr. Hawkins
On Wed, Oct 19, 2016 at 12:43 PM, mwieder wrote: > http://quality.livecode.com/show_bug.cgi?id=18300 Wow. Isn't this a one-line insertion to fix between collecting them into a field or variable, and displaying it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: are custom properties not supposed to be sorted in inspectors in 8?

2016-10-19 Thread mwieder
http://quality.livecode.com/show_bug.cgi?id=18300 - -- Mark Wieder ahsoftw...@gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/are-custom-properties-not-supposed-to-be-sorted-in-inspectors-in-8-tp4709604p4709606.html Sent from the Revolution

are custom properties not supposed to be sorted in inspectors in 8?

2016-10-19 Thread Dr. Hawkins
Am I doing something wrong, or are the custom properties in an inspector not supposed to be sorted alphabetically in 8? I have enough properties on some objects that this quickly gets maddening . . . or am I missing a setting again? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Custom Properties with Widgets

2016-03-01 Thread Terence Heaford
Just messing about with LC8 browser widget and tried to set a custom property. Is this possible because I couldn’t get it to take in the property inspector? Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: hunting a bug on scripted custom properties not being saved

2015-12-02 Thread Dr. Hawkins
On Wed, Dec 2, 2015 at 3:44 AM, [-hh] wrote: > Up to LC 8-dp9, the properties are there, but NOT displayed in the new PI. > That's not the same bug, then. Here it would retrieve the old value, and open the older file. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: hunting a bug on scripted custom properties not being saved

2015-12-02 Thread [-hh]
Yes, I got it now. Didn't read exact enough, sorry. Perhaps your's is somehow connected to the new option "Preserve stack file version on stacks saved in legacy format" of the 'Files & Memory' tab of the prefrences? Would be interesting how your technique and this option interfere? To know at

Re: hunting a bug on scripted custom properties not being saved

2015-12-02 Thread [-hh]
> Richard E.H. wrote: > I have a routine to bump the versions of stacks and save ... Read your first post again. I misunderstood what you are doing. By "the versions of stacks" you mean your development version of stacks, not using 'the stackFileVersion' of LC. Sorry. Hope you get this solved.

Re: hunting a bug on scripted custom properties not being saved

2015-12-02 Thread [-hh]
I had similar behaviour, connected to that, with the new property inspector. I set and saved properties in LC 7, reopened the stack in LC. The LC 7 PI shows the properties, also after reopening. Up to LC 8-dp9, the properties are there, but NOT displayed in the new PI. This bug is removed in

Re: hunting a bug on scripted custom properties not being saved

2015-12-01 Thread Peter Haworth
I've run into this as well, don't remember if I entered a bug report or not. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Dec 1, 2015 at 5:55 PM, Dr. Hawkins

hunting a bug on scripted custom properties not being saved

2015-12-01 Thread Dr. Hawkins
This has been taunting me all day. I have a routine to bump the versions of stacks and save them, and to set the new name as a custom property of the control stack. That main stack, at the moment, typically has not changes made to it until this happens. It appears that if the only change to the

Re: hunting a bug on scripted custom properties not being saved

2015-12-01 Thread Dr. Hawkins
On Tue, Dec 1, 2015 at 6:12 PM, Peter Haworth wrote: > I've run into this as well, don't remember if I entered a bug report or > not. > I just filed one. No number, as I had to pick up another computer to do it. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: Char Set on Custom Properties

2015-09-04 Thread Mark Waddingham
On 2015-09-03 21:38, J. Landman Gay wrote: Returning to this topic...we are in the process of creating new stacks in LC 7 while still running older LC 6 stacks with the same app. Stacks have custom properties containing text created on a Mac, and my app uses MacToISO() to display the text when

Re: Char Set on Custom Properties

2015-09-04 Thread Robert Brenstein
Not an ellegant approach but have you considered having a custom property in your stacks that identify them for you. It sounds like you are in control when those stacks are created and updated, so it might work. RObert On 04.09.2015 at 13:38 Uhr -0500 J. Landman Gay apparently wrote: Barring

Re: Char Set on Custom Properties

2015-09-04 Thread J. Landman Gay
On 9/4/2015 7:57 AM, Mark Waddingham wrote: From what you are saying you want people to be able to edit content in both LC6 and LC7, the content itself being saved in LC6 format. i.e. You want to move your system forward to LC7, but you need to still support LC6 clients and editors. Is that

Re: Char Set on Custom Properties

2015-09-04 Thread J. Landman Gay
On 9/4/2015 1:46 PM, Robert Brenstein wrote: Not an ellegant approach but have you considered having a custom property in your stacks that identify them for you. It sounds like you are in control when those stacks are created and updated, so it might work. It hadn't occured to me, actually. I

Re: Char Set on Custom Properties

2015-09-03 Thread J. Landman Gay
Returning to this topic...we are in the process of creating new stacks in LC 7 while still running older LC 6 stacks with the same app. Stacks have custom properties containing text created on a Mac, and my app uses MacToISO() to display the text when running on Windows. Some of the LC 6

Re: Char Set on Custom Properties

2015-07-23 Thread Mark Waddingham
Jul 2015, at 22:06, Dan Friedman d...@clearvisiontech.com wrote: Hello! Way back in LiveCode 5 and 6, custom properties were not ported to the proper character set when you opened the stack on a different platform (Mac -- Win or Win -- Mac). This was easily solved by a simple macToISO

Re: Char Set on Custom Properties

2015-07-22 Thread Mark Schonewille
wrote: Hello! Way back in LiveCode 5 and 6, custom properties were not ported to the proper character set when you opened the stack on a different platform (Mac -- Win or Win -- Mac). This was easily solved by a simple macToISO() or ISOtoMac(). However, it appears that LC 7.x is now doing

Char Set on Custom Properties

2015-07-22 Thread Dan Friedman
Hello! Way back in LiveCode 5 and 6, custom properties were not ported to the proper character set when you opened the stack on a different platform (Mac -- Win or Win -- Mac). This was easily solved by a simple macToISO() or ISOtoMac(). However, it appears that LC 7.x is now doing

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-24 Thread stephen barncard
On Wed, Apr 23, 2014 at 3:00 PM, Charles Szasz csz...@me.com wrote: In the print preview on my Mac, I can see the Rtf “coding” and not the nicely formatted text document I wanted. I have no idea what the clipboard has to do with what you wanted to do here... Anyway - this test should load an

Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread Charles Szasz
I was able to save a template document as a RTF as a custom properties of a stack. I want to retrieve the template to print it. I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? set the itemdelimiter

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread stephen barncard
created in Textedit pretty accurately. It didn't used to work as well. On Wed, Apr 23, 2014 at 12:16 PM, Charles Szasz csz...@me.com wrote: I was able to save a template document as a RTF as a custom properties of a stack. I want to retrieve the template to print it. I can retrieve the file

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread stephen barncard
On Wed, Apr 23, 2014 at 12:16 PM, Charles Szasz csz...@me.com wrote: I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? Ok, I hope I've been understanding that your stumbling block was using RTF text. Or do you

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread Charles Szasz
Stephen, I created a Rtf document using TextEdit and save it as a Rtf. Then I successfully created a custom property and programmatically store the Rft as a custom property. I then set up a field import in a new substack of my program. I then try the following script: set the itemdelimiter

Re: Setting the textStyle of content of custom properties

2014-02-18 Thread Charles Szasz
property for button check1ps”. I am trying to set the text in the custom property to bold because I have other buttons that also have custom properties which are not bold. I want to manipulate the text of the custom properties so that only a select button will appear bold in a field. Can you tell

Re: Setting the textStyle of content of custom properties

2014-02-18 Thread Richard Gaskin
Charles Szasz wrote: set the styledText of customProperties[uMyLabel] of button check1ps to “bold But that doesn’t not work. The textStyle is a property of objects, or of chunks of text in a field, but the values stored in custom properties are just raw data, so they have no properties

Re: Setting the textStyle of content of custom properties

2014-02-18 Thread Bob Sneidar
check1ps to “bold But that doesn’t not work. I have a six words in a custom property for button check1ps”. I am trying to set the text in the custom property to bold because I have other buttons that also have custom properties which are not bold. I want to manipulate the text of the custom

Re: Setting the textStyle of content of custom properties

2014-02-18 Thread Bob Sneidar
the styledText of customProperties[uMyLabel] of button check1ps to “bold But that doesn’t not work. I have a six words in a custom property for button check1ps”. I am trying to set the text in the custom property to bold because I have other buttons that also have custom properties which are not bold

Re: Setting the textStyle of content of custom properties

2014-02-13 Thread dunbarx
properties I have some text in custom properties for a checkbox. How can I set the textStyle of text to bold through scripting? Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

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

Custom Properties

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

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 gspear

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 and...@ctech.me wrote: Hmmm, is the data being returned by that custom property an array? Array's don't display as strings on answer

Re: Custom Properties

2013-06-27 Thread Roger Eller
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 gspear...@gmail.com wrote: As I am

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

Re: Custom Properties

2013-06-27 Thread Graham Pearson
; *answer* it ~Roger On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe and...@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

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

Re: Custom Properties

2013-06-27 Thread Alan Stenhouse
Perhaps they're under a different custom property set? Did you check in the Custom Properties inspector if there's any other property sets that you could choose? (There's a popup under the scrolling field of custom properties). Can you paste in the command you're using to set one

Re: Custom Properties

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

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

Re: Custom Properties

2013-06-27 Thread Thomas McGrath III
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

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

Tracking And Deleting Objects Via Custom Properties?

2012-05-29 Thread JOHN PATTEN
Hi All… I have a script that is storing objects via their name in a custom property of the card. I'm trying to delete one of the objects by checking if the object name is 'among' the 'list' of items. This works fine. However I can delete the name of the object from the list of objects in the

Re: Tracking And Deleting Objects Via Custom Properties?

2012-05-29 Thread Mike Bonner
Probably something like this would work. on mouseUp put the buttonList of current card into tButtons put the short name of last btn into tTargetButton put lineoffset(tTargetButton,tButtons) into tOffset -- get the matching line number in tButtons if tOffset 0 then -- if there was a

Re: Tracking And Deleting Objects Via Custom Properties?

2012-05-29 Thread Paul Hibbert
John, You can't edit the list of items in a custom property directly, but you can put the list of items in the custom property into a variable, delete the item from the variable then set the custom property back to the modified variable. HTH Paul On 2012-05-29, at 7:14 PM, JOHN PATTEN wrote:

Re: Tracking And Deleting Objects Via Custom Properties?

2012-05-29 Thread Peter M. Brigham, MD
You could use this, something I saved along the way. I *think* it's from the stdLib by Ken Ray and Richard Gaskin, but I've lost track. on deleteCustomProperty tObjRef,tPropSet,tProp -- not sure where this comes from, it's not mine -- thanks to whoever ! put the custompropertyset of

Re: Tracking And Deleting Objects Via Custom Properties?

2012-05-29 Thread JOHN PATTEN
Thanks Peter, Paul, and Mike! I forgot about the lineOffset… :) Cheers! John Patten SUSD On May 29, 2012, at 7:33 PM, Peter M. Brigham, MD wrote: You could use this, something I saved along the way. I *think* it's from the stdLib by Ken Ray and Richard Gaskin, but I've lost track. on

Re: Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-29 Thread Bob Sneidar
Right. It seems like it would be easier to clone a stack, then reset everything in it, or just keep a copy of a virgin stack around. You would have to update it every time you made any changes to the original though. Bob On Dec 28, 2011, at 1:51 PM, stephen barncard wrote: A while ago I

Re: Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-29 Thread Richard Gaskin
Bob Sneidar wrote: It seems like it would be easier to clone a stack, then reset everything in it, or just keep a copy of a virgin stack around. You would have to update it every time you made any changes to the original though. That's been my experience as well. The stack file format is

Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-28 Thread Keith (Gulf Breeze Ortho Lab)
Hi All, Does anyone know of a sample stack demonstrating how to pull all of the properties and custom properties out of a stack, putting them into a file, and then demonstrating how to put the file of data back into the stack (or into another copy or clone of the original stack)? Thanks

Re: Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-28 Thread Bob Sneidar
stack demonstrating how to pull all of the properties and custom properties out of a stack, putting them into a file, and then demonstrating how to put the file of data back into the stack (or into another copy or clone of the original stack)? Thanks, - Boo

Re: Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-28 Thread Mark Wieder
Bob- Wednesday, December 28, 2011, 8:31:54 AM, you wrote: Putting the standard properties back is a bit trickier though. I don't think you can set the properties of a stack. Most of them you can. Some are read-only. If you wrap your code below in a try-catch construct you can avoid the

Re: Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-28 Thread Bob Sneidar
I meant all at once as in set the properties of this stack to theSavedProperties Bob On Dec 28, 2011, at 10:16 AM, Mark Wieder wrote: Bob- Wednesday, December 28, 2011, 8:31:54 AM, you wrote: Putting the standard properties back is a bit trickier though. I don't think you can set the

Re: Sample stack demonstrating how to obtain all properties and custom properties of a stack?

2011-12-28 Thread stephen barncard
well if one were setting all of the properties of a stack, they'd have to be set to another stack. set the properties of stack b to the properties of stack a Easier to copy the stack.Can all the properties be placed into a variable? I think some props will be left out by design, otherwise

Re: Rename Custom Properties

2011-10-08 Thread J. Landman Gay
On 10/8/11 6:34 PM, Marty Knapp wrote: Is there a way to rename custom properties by script and retain the contents of the custom properties? I know you can do it with the inspector, but I would like to be able to do it by script so that my user's stacks can be updated with the new names

  1   2   >