Re: Copying and pasting a data grid form?

2011-12-01 Thread Pete
Here's one way to do this,there may be others. Both datagrids will have the dgProps["row template"] property set to the same group and card of the Datagrid Templates stack. Locate that card and use the message box to make a copy of it in the Datagrid Templates stack. Make a note of the Row Tem

Re: copy custom property set

2011-12-01 Thread Mike Bonner
You can do something like this. put the customproperties["en"] of stack "stackname" into myArray --at this point you can modify the array to change your values and then set the customproperties["ja"] of stack "stackname" to myArray On Thu, Dec 1, 2011 at 10:31 PM, Nicolas Cueto wrote: > Hello

Re: copy custom property set

2011-12-01 Thread Michael Doub
I think that your question may be more about arrays that custom properties. Maybe this will give you some ideas. -= Mike on mouseUp put "goodmorning" & Tab& "Good Morning!" & return &\ "goodevening" & tab & "Good Evening!" & return into enArray split enArray with return and tab p

copy custom property set

2011-12-01 Thread Nicolas Cueto
Hello. I'm not too confident with custom properties, so my terminology here could be imprecise. In my stack's custom properties there is a set called "en". In turn, that set "en" has a long list of keys (?). Thus, for example, if I script: put the en["greetingMorning"] of stack "myStack" it'

Copying and pasting a data grid form?

2011-12-01 Thread Keith (Gulf Breeze Ortho Lab)
Hi All, Okay, I am at a loss. I have a stack with several cards... On one card I have a custom data grid form with graphics and several text fields... What I want to do is copy the data grid and then paste it onto another card--which works fine. The problem is, I am unclear about how to create

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread dunbarx
I had always thought that it was the developers who successfully lobbied against HC. It was feared that sales of shrink wrapped software in general would suffer if a large population of users could roll their own solutions. No need for filemaker or excel. Craig Newman -Original Message-

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Petrides, M.D. Marian
That's for sure. One other missing "feature" in Hypercard that was not mentioned is cross-platform support, which LC does very well. (Thank Heavens!) On Dec 1, 2011, at 7:02 PM, J. Landman Gay wrote: > LiveCode has grown to be much more capable, as it turns out. I'm glad we > ended up here. _

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Todd Geist
Hi Bob, The part that I most liked about the linked article was the emphasis on explorability. I think HyperCard had it. My other Tool FileMaker had it. FileMaker has less of it today. And I think that LiveCode is not as explorable as HyperCard was. In the case of LiveCode it nows support 7 plat

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread J. Landman Gay
On 12/1/11 4:54 PM, Bob Sneidar wrote: What made Hypercard obsolete was time and the lack of certain things that became essential to modern apps or dev environments, like say real color support or database access, not to mention a robust graphics engine like Livecode has. Steve Jobs killed it.

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Pete
Totally agree with that. Plus LiveCode isn't a solution to anything, it's a tool to implement a solution. Pete On Thu, Dec 1, 2011 at 4:50 PM, Mike Bonner wrote: > Bob said: Let me propose that a solution cannot be simpler than the problem > it is meant to solve. > > Yep. The most important par

Re: Custom Property Data Limit?

2011-12-01 Thread Pete
Yeah, I can see that would work faster than getting the data from an SQL db. Would be interested to compare speeds with more complicated retrievals though, eg get a list all rows with "xyz" in column 5 and "abc" in column 8, or something similar. Course, the app in question may not need that kind

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Mike Bonner
Bob said: Let me propose that a solution cannot be simpler than the problem it is meant to solve. Yep. The most important part of programming/building/creation in general is defining the problem. Well ok, for me the biggest issue is making it pretty since I have zero design intuition. But that pro

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
Just for the hell of it, I made a custom property of a button with one billion chars, 100,000,000 lines of ten chars. 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 p

Re: Datagrid Row Selection

2011-12-01 Thread Michael Doub
I solved both problems mentioned below by moving the mouseup script out of the behaviour script and placed it in the script of the group of the datagrid itself. The script was altered to get the proper addressing and make it more concise. All seems to be working fine. I also removed the mous

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: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Bob Sneidar
Hi Todd. Let me propose that a solution cannot be simpler than the problem it is meant to solve. People who think so are usually only imagining how simple the solution can be. When they actually get in and try to solve it, they find a world of complexity that was hiding behind their imaginations

Re: Using a check box in a datagrid column header

2011-12-01 Thread zryip theSlug
On Thu, Dec 1, 2011 at 7:06 PM, Glen Bojsza wrote: > I was wondering if it is possible to use a check box  as a column header > for a datagrid. > > This is where the user can select or deselect all lines in the datagrid > instead of having to do it on the individual basis. Theoretically the datag

Re: Using a check box in a datagrid column header

2011-12-01 Thread Pete
I needed to do this and just put a checkbox immediately above the datagrid, right above the column header for the checkbox column. On Thu, Dec 1, 2011 at 2:32 PM, Glen Bojsza wrote: > I think a variation on the lesson will provide a solution close to what I > am looking for. > > thanks. > > On T

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Bob Sneidar
First, the link to BaseliskII port for Mac OS X does not work. Didn't work before, don't work now. Now about the article. I think I disagree with him on a number of things, but what comes to my mind is the notion that the computer can be a "mind amplifier" or a "train" as opposed to a "bicycle".

Re: Using a check box in a datagrid column header

2011-12-01 Thread Glen Bojsza
I think a variation on the lesson will provide a solution close to what I am looking for. thanks. On Thu, Dec 1, 2011 at 3:18 PM, Bob Sneidar wrote: > Also consider using something like an option click in any of the > checkboxes in the datagrid column to toggle all on or all off. > > Bob > > >

Re: Using a check box in a datagrid column header

2011-12-01 Thread Bob Sneidar
Also consider using something like an option click in any of the checkboxes in the datagrid column to toggle all on or all off. Bob On Dec 1, 2011, at 1:12 PM, Mark Stuart wrote: > Glen wrote: >>> > I was wondering if it is possible to use a check box as a column header > for a datagrid.

Re: HTTP PUT?

2011-12-01 Thread Terry Judd
I should have read the dictionary more closely. Looks like Livecode's put command does work with HTTP so long the server supports it. Terry... On 01/12/2011, at 10:37 PM, Terry Judd wrote: I've got GET and POST covered, but how do I go about constructing and sending a HTTP PUT request from Liv

Re: Custom Property Data Limit?

2011-12-01 Thread mike
I found that when going to the database approach and directly feeding the database you are limited to a fixed row height datagrid. -= Mike Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Pete Sender: use-livecode-boun...@lists.runrev.com Date:

Re: SoCal LUG meeting: Wind advisory

2011-12-01 Thread Paul Looney
Richard, I live about 30 miles east of Pasadena. Sometime last night the city of San Dimas decided to run a wind-chime test. Every wind-chime in the city went off at once - and continued ringing for hours. This morning that sound was replace by sirens and chain saws. We have a heavy, industrial-st

Re: Using a check box in a datagrid column header

2011-12-01 Thread Mark Stuart
Glen wrote: >> I was wondering if it is possible to use a check box as a column header for a datagrid. This is where the user can select or deselect all lines in the datagrid instead of having to do it on the individual basis. thanks, << Glen, try this DG lesson and see if that helps what y

Re: [OT}] Hypercard and an uneasy read.

2011-12-01 Thread Todd Geist
Excellent read. And entirely plausible. I think his assertion that the various HyperCard clones that are too complex and contain too many mystery knobs is pretty accurate. My first programs were written in HyperCard. It was easy to figure out. I have spent decades now writing software or databa

Re: IMPORTANT: SoCal Meeting CANCELLED

2011-12-01 Thread Colin Holgate
http://latimesblogs.latimes.com/lanow/2011/12/high-winds-la-pasadena-epicenter.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runr

Re: ANN: ExtFreeDiskSpace 1.0

2011-12-01 Thread Jim Lambert
Mark, Thank you for this useful external. Jim Lambert ___ 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-li

IMPORTANT: SoCal Meeting CANCELLED

2011-12-01 Thread Richard Gaskin
The City of Pasadena has declared a state of emergency in light of the ongoing wind storm (see earlier post), so after discussing this with Bill Vlahos we agree it's just not safe to encourage people to enter the area most affected by this event. So the meeting originally scheduled for tonight

[OT}] Hypercard and an uneasy read.

2011-12-01 Thread Richmond
http://www.loper-os.org/?p=568 ___ 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: 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: SoCal LUG meeting: Wind advisory

2011-12-01 Thread Todd Geist
Wow, we had no wind at all. I am maybe 50 miles from Pasedena Todd On Thu, Dec 1, 2011 at 7:30 AM, Richard Gaskin wrote: > Yesterday I wrote: > > The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, >> Dec 1 - details in the SC LUG forum that Heather graciously set up for >> u

Using a check box in a datagrid column header

2011-12-01 Thread Glen Bojsza
I was wondering if it is possible to use a check box as a column header for a datagrid. This is where the user can select or deselect all lines in the datagrid instead of having to do it on the individual basis. thanks, ___ use-livecode mailing list us

Custom Property Data Limit?

2011-12-01 Thread Marty Knapp
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 working just fine for me at this point, but

Re: Print only substack

2011-12-01 Thread Peter M. Brigham, MD
The other way of doing this is to keep the visible = true but set the location of the stack to somewhere off-screen before opening it: set the loc of stack "printStack" to -1000,-1000 go stack "printStack" print card into 54,28,558,756 -- or whatever -- Peter Peter M. Brigham pmb...

Re: Print only substack

2011-12-01 Thread Charles Szasz
Peter, Thanks for you suggestion! Your suggestion is better than mine, which is longer: open stack "print" set the invisible of stack "print" to true print stack "print" Thanks! Charles Szasz csz...@mac.com ___ use-livecode mailing list use-liveco

SoCal LUG meeting: Wind advisory

2011-12-01 Thread Richard Gaskin
Yesterday I wrote: The SoCal LiveCode User Group will be meeting in Pasadena on Thursday, Dec 1 - details in the SC LUG forum that Heather graciously set up for us in the general LiveCode forums: The meeting is definitely happening and I'm

Access iphone files from Windows via LiveCode

2011-12-01 Thread Richard Miller
I need to import video files into a desktop LiveCode app from an iphone under Windows 7 when the iphone is plugged into the desktop via usb. I only want to access videos created on the iphone through its camera. I don't see the iphone show up as a standard volume, but I suspect there is a way f

Would you say Live Code competes with this?

2011-12-01 Thread Admin
I recently thought about buying the Dark Basic AGK product because I do own their Dark Basic Pro line of products. However, to me, Live Code with the animation engine is nearly identical - what do you think? Here is the link: http://www.appgamekit.com/about-agk.php [1] It has 2D only ga

HTTP PUT?

2011-12-01 Thread Terry Judd
I've got GET and POST covered, but how do I go about constructing and sending a HTTP PUT request from Livecode (I need to communicate with a RESTful service)? Any pointers welcome. Cheers, Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, De