Re: Custom property retrieval incorrect

2023-04-28 Thread Mark Waddingham via use-livecode
On 2023-04-27 23:32, J. Landman Gay via use-livecode wrote: Those are exactly the two values I get too. The earliest version of LC I currently have installed is 9.6.7 and it happens there and in three newer versions after that. A custom property named "cVers" works okay. But I've been using "

Re: Custom property retrieval incorrect

2023-04-27 Thread Bob Sneidar via use-livecode
Well... ;-) Thanks for tracking it down, Mark. I'm not crazy after all. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _

Re: Custom property retrieval incorrect

2023-04-27 Thread J. Landman Gay via use-livecode
Those are exactly the two values I get too. The earliest version of LC I currently have installed is 9.6.7 and it happens there and in three newer versions after that. A custom property named "cVers" works okay. But I've been using "cVersion" for years and years, so not sure what the ripple eff

Re: Custom property retrieval incorrect

2023-04-27 Thread Mark Wieder via use-livecode
On 4/27/23 14:18, Mark Waddingham via use-livecode wrote: Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension. An easy way to

Re: Custom property retrieval incorrect

2023-04-27 Thread Mark Waddingham via use-livecode
Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension. An easy way to find out is to temporarily rename the ‘My LiveCode’ folder a

Re: Custom property retrieval incorrect

2023-04-27 Thread matthias rebbe via use-livecode
I just created a stack in LC 10DP5 without setting any property and run put the cVersion of this stack while the stack was show as the target in messagebox and it returned 1.0.4 When i do this in 9.6.9 it returns 3.0.9. And now if i repeat it in 10DP5 it returns also 3.0.9 without having s

Re: Custom property retrieval incorrect

2023-04-27 Thread Mark Wieder via use-livecode
On 4/27/23 12:50, J. Landman Gay via use-livecode wrote: Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to work fine, but that was about 2 years ago. Verified here. cVersion is weird. I get 1.0.4 on all stacks. I put all the properties for update c

Re: Custom property retrieval incorrect

2023-04-27 Thread Craig Newman via use-livecode
Jacque. Have you tried another name, Like “XYZ”? Craig > On Apr 27, 2023, at 3:50 PM, J. Landman Gay via use-livecode > wrote: > > I have a custom stack property called "cVersion" that is used to determine > update availability and is shown in an About stack. In LC 9.6.7, 9.6.9, and > 10.0.

Re: Custom Property

2017-12-21 Thread Roger Guay via use-livecode
Thanks! :-) Actually there’s no pain . . . it’s easy to work around. I was just curious why a stack I’m playing with from dev@livecode exhibits this problem. Roger > On Dec 21, 2017, at 9:58 AM, Richmond Mathewson via use-livecode > wrote: > > "Sacrifice" . . . I wasn't really complaining; j

Re: Custom Property

2017-12-21 Thread Richmond Mathewson via use-livecode
"Sacrifice" . . . I wasn't really complaining; just "laughing with you" as they say. I feel your pain 8-) Richmond. On 21/12/17 6:17 pm, Roger Guay via use-livecode wrote: So sorry for your sacrifice, Richmond!! 1. I didn’t ask you specifically to do any testing. 2. You have no idea how muc

Re: Custom Property

2017-12-21 Thread Roger Guay via use-livecode
So sorry for your sacrifice, Richmond!! 1. I didn’t ask you specifically to do any testing. 2. You have no idea how much testing I did, nor the nature of it Roger > On Dec 21, 2017, at 2:30 AM, Richmond Mathewson via use-livecode > wrote: > > 1. Obviously it's #1 above, or something else

Re: Custom Property

2017-12-21 Thread Roger Guay via use-livecode
Thanks, Monty. Will do. > On Dec 21, 2017, at 12:16 AM, Monte Goulding via use-livecode > wrote: > > Hi Roger > > If you could create a bug report with a stack containing the offending > graphic that would be helpful > > Cheers > > Monte > >> On 21 Dec 2017, at 5:22 pm, Roger Guay via use-

Re: Custom Property

2017-12-21 Thread Richmond Mathewson via use-livecode
This is probably a totally goofy reply, but here goes: I just set up a stack with a graphic: grc "diamond" in LC 7.1.4 and then typed this into the Message Box: set the "GRUNT" of grc "diamond" to 123 and that, automagically created the property "GRUNT" and filled in its value. I saved the

Re: Custom Property

2017-12-21 Thread Monte Goulding via use-livecode
Hi Roger If you could create a bug report with a stack containing the offending graphic that would be helpful Cheers Monte > On 21 Dec 2017, at 5:22 pm, Roger Guay via use-livecode > wrote: > > Please, how is it that a graphic can have a custom property that does not > show up in the prope

Re: Custom Property Data Limit?

2011-12-02 Thread Marty Knapp
I just did a test and 200,000 records in my data set (stored as a tab delimited custom property) results in a stack of about 46mb. That's well under the 4 gig limit that you mention. But it takes a long time to load in a datagrid! I have questions about that so I'll start another thread. Thank

Re: Custom Property Data Limit?

2011-12-02 Thread Bob Sneidar
Yes, my idea has always been to limit my queries to a certain number of records, and then have some transparent method for paging, but this other method of updating the datagrid via callbacks intrigues me. Bob On Dec 2, 2011, at 3:01 AM, Bernard Devlin wrote: > You wouldn't necessarily need

Re: Custom Property Data Limit?

2011-12-02 Thread Bernard Devlin
Some years back I was working with a few joined tables in a commercially available relational database. Making certain queries across these joined tables became unusably slow as the size of the tables increased (I can't remember the numbers, but certainly in the millions, possibly billions). As t

Re: Custom Property Data Limit?

2011-12-01 Thread Pete
hars. If I ask it for line, say, > 28455999, it gives it instantly. > > > Craig Newman > > > > -Original Message- > From: Michael Doub > To: How to use LiveCode > Sent: Thu, Dec 1, 2011 2:27 pm > Subject: Re: Custom Property Data Limit? > > >

Re: Custom Property Data Limit?

2011-12-01 Thread J. Landman Gay
On 12/1/11 11:55 AM, Marty Knapp wrote: I'm storing a tab-delimited text list in a custom property, with each item maybe up to 25 characters or so in length and around 12 items per line. Over time, this could grow to several hundred thousand lines. The data is displayed in a datagrid. It's workin

Re: Custom Property Data Limit?

2011-12-01 Thread Michael Doub
I did some testing and on my touch, things got pretty sluggish around 1000 records using dgData or dgText. 1000 records on a PC/mac was not a problem at all. -= Mike On 2011-12-01, at 7:36 PM, Bob Sneidar wrote: > Oh I see, so that is a method for displaying large amounts of data if you >

Re: Custom Property Data Limit?

2011-12-01 Thread dunbarx
pm Subject: Re: Custom Property Data Limit? Bob, Using the GetDataForLine Callback is the technique that I was referring to that forces you to have a fixed row height. See: http://lessons.runrev.com/s/lessons/m/datagrid/l/7341-Displaying-Large-Amounts-of-Data -= Mike On 2011-12-01, at 6

Re: Custom Property Data Limit?

2011-12-01 Thread Bob Sneidar
Oh I see, so that is a method for displaying large amounts of data if you think that you may overwhelm the datagrid with too much data. Interesting. Bob On Dec 1, 2011, at 4:25 PM, Michael Doub wrote: > Bob, > > Using the GetDataForLine Callback is the technique that I was referring to > t

Re: Custom Property Data Limit?

2011-12-01 Thread Bob Sneidar
Oh I thought this was an updatable database. Bob On Dec 1, 2011, at 4:13 PM, Pete wrote: > If you're using a datagrid to store your data, > there doesn't seem much point in creating a cursor... > Pete ___ use-livecode mailing list use-livecode@list

Re: Custom Property Data Limit?

2011-12-01 Thread Michael Doub
Bob, Using the GetDataForLine Callback is the technique that I was referring to that forces you to have a fixed row height. See: http://lessons.runrev.com/s/lessons/m/datagrid/l/7341-Displaying-Large-Amounts-of-Data -= Mike On 2011-12-01, at 6:45 PM, Bob Sneidar wrote: > I do not know w

Re: Custom Property Data Limit?

2011-12-01 Thread Pete
Or just use revDataFromQuery with the columns in your SELECT statement in the same order as the datagrid columns then set the dgtext of the datagrid to the returned value. If you're using a datagrid to store your data, there doesn't seem much point in creating a cursor... Pete On Thu, Dec 1, 2011

Re: Custom Property Data Limit?

2011-12-01 Thread Bob Sneidar
I do not know what that means. At any rate, let me remind everyone that sqlYoga produces arrays that are compatible with datagrids, so that a simple query for all the records or even a subset of records, and then set the dgData of group "myDataGrid" to theDataA or something of the sort. for up

Re: Custom Property Data Limit?

2011-12-01 Thread mike
: Thu, 1 Dec 2011 10:23:44 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: Custom Property Data Limit? Hi Marty, You'll probably get lots of opinions both ways but with several hundred thousand lines of data, I'd go with an SQL database. If nothing else, your da

Re: Custom Property Data Limit?

2011-12-01 Thread Pete
Hi Marty, You'll probably get lots of opinions both ways but with several hundred thousand lines of data, I'd go with an SQL database. If nothing else, your data will be available for analysis by other applications, if that matters. Pete On Thu, Dec 1, 2011 at 9:55 AM, Marty Knapp wrote: > I'm

Re: Custom Property Question

2010-11-23 Thread charles61
Mark, Thanks your script and Jonathan's worked! Charles Szasz csz...@mac.com On Nov 23, 2010, at 4:14 PM, Mark Schonewille-3 [via Runtime Revolution] wrote: > Hi Charles, > > I'm not sure what you want, but this is the syntax to store data from a field > in a custom property: > > set t

Re: Custom Property Question

2010-11-23 Thread charles61
Thanks! Your script worked! Charles Szasz csz...@mac.com On Nov 23, 2010, at 4:16 PM, Jonathan Lynch [via Runtime Revolution] wrote: > It would be a line that looks something like this: > > Set the myCustomProperty of button "MyButton" to field "MyField" > > That actual name of the cust

Re: Custom Property Question

2010-11-23 Thread Jonathan Lynch
It would be a line that looks something like this: Set the myCustomProperty of button "MyButton" to field "MyField" That actual name of the custom property can be just about anything, but it needs to be a single word. You do not have to precreate custom properties of objects. When you set them,

Re: Custom Property Question

2010-11-23 Thread Mark Schonewille
Hi Charles, I'm not sure what you want, but this is the syntax to store data from a field in a custom property: set the cCustomPropertyName of control "Some Control" to fld "Field Name" (control can also be card or stack). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Softwa