Re: Drag and Drop

2013-05-10 Thread Richmond
On 05/10/2013 11:17 PM, Alejandro Tejada wrote: Hi Richmmond, Richmond Mathewson-2 wrote [snip] So I don't know where you got the idea that this used not to work: [snip] mouseStillDown is not mentioned in this article: http://www.hyperactivesw.com/resources_polling.html Why? Because RR/LC

skip lists

2013-05-10 Thread Richard Gaskin
Anyone here had occasion to implement a skip list in an xTalk? If so, any code you can share, or tips? -- Richard Gaskin Fourth World Systems ambassa...@fourthworld.comhttp://www.Fou

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Monte Goulding
On 11/05/2013, at 12:01 PM, Thomas McGrath III wrote: > What you state here about the rounding is exactly what I have been seeing and > your suggestion that one should always start from the stored original sizes > and attributes when cumulative resizes or back to back resizes are needed is >

Re: Best Practice for Storing Icon Images

2013-05-10 Thread Roger Guay
Thanks, Jacque and Richard! On May 10, 2013, at 8:55 PM, J. Landman Gay wrote: > On 5/10/13 7:47 PM, Roger Guay wrote: >> Is there a best practice or recommendation for storing icon images? >> Invisible on the same card? Off screen on the same card? Special >> "storage" card? Or… > > I think i

Re: ID caching: how to test?

2013-05-10 Thread J. Landman Gay
On 5/10/13 9:11 PM, Richard Gaskin wrote: The Release Notes for v6 include: ID caching (6.0 DP 2) New global property – allowDatagramBroadcasts (6.0 DP 2) A new global property allowDatagramBroadcasts has been added. This needs to be set to true before sending to a broadcast address

Re: Best Practice for Storing Icon Images

2013-05-10 Thread J. Landman Gay
On 5/10/13 7:47 PM, Roger Guay wrote: Is there a best practice or recommendation for storing icon images? Invisible on the same card? Off screen on the same card? Special "storage" card? Or… I think it depends on the app or stack you're making. If I only have a few icon images, I usually just

ID caching: how to test?

2013-05-10 Thread Richard Gaskin
The Release Notes for v6 include: ID caching (6.0 DP 2) New global property – allowDatagramBroadcasts (6.0 DP 2) A new global property allowDatagramBroadcasts has been added. This needs to be set to true before sending to a broadcast address (enables the per-socket flag for whether they

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Thomas McGrath III
Geoff, What you state here about the rounding is exactly what I have been seeing and your suggestion that one should always start from the stored original sizes and attributes when cumulative resizes or back to back resizes are needed is the only solution so far that I believe will work for thi

Re: Best Practice for Storing Icon Images

2013-05-10 Thread Richard Gaskin
Roger Guay wrote: > Is there a best practice or recommendation for storing icon images? > Invisible on the same card? Off screen on the same card? Special > "storage" card? Or… Well, I don't know about "best", but I'll tell you what I do: Most of my apps have a substack named "RSRC", e.g., "Web

Re: How to copy a file so it creates missing folders in the path

2013-05-10 Thread tbodine
Handy code! Thanks! For anyone else searching this matter, there's one more quirk to know. On MacOS 10.7, 8 and ?, the user's Library folder is hidden. So if you want to see for yourself that preference files were properly created, you have to reveal that hidden folder. Here's how: In the Finder,

Best Practice for Storing Icon Images

2013-05-10 Thread Roger Guay
Is there a best practice or recommendation for storing icon images? Invisible on the same card? Off screen on the same card? Special "storage" card? Or… Thanks Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: Temporary Website Outage Expected

2013-05-10 Thread Robert Sneidar
I always expect outages. That way I'm never disappointed ;-) Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 10, 2013, at 7:50, Heather Laine wrote: > Dear List Members, > > Just to let you know that we are doing some planned engineering works on our > website over the next f

Re: customPropertySets

2013-05-10 Thread Peter Haworth
RIght, I saw that when looking at some Livecode Preference settings. I assume that was done in the days before arrays were possible in custom properties and they never changed it when arrays became possible. I guess a lot of this stuff doesn't cause any grief to people who are developing "normal"

Re: customPropertySets

2013-05-10 Thread Mark Wieder
Peter Haworth writes: > Pretty inconsistent, wouldn't you say? Oh, it gets worse. You can also insert commas into the property name, and this isn't likely to change because the IDE uses this "feature". -- Mark Wieder mwie...@ahsoftware.net ___

Re: customPropertySets

2013-05-10 Thread Peter Haworth
I think "undesirable" is a good way to put it. I am working round it but, as usual, it's not quite as simple as it might seem :-( Here's another little oddity. The Inspector palette for an object happily lets me add a property to customkeys with spaces in its name, or any other special character

Re: Data Grid Question

2013-05-10 Thread Peter Haworth
I think I've seen this issue when, somehow or other, the template for the datagrid doesn't exist. Tables still work fine without a template until you want to customize a column like this. Check out the dgProps["row template"] property to get the long id of the row template and make sure it exists

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Richard Gaskin
Scott Rossi wrote: Hopefully, RunRev's introduction of the shape object and sub pixel positioning will minimize these scaling problems. That, and the dynamic scaling Kickstarter stretch goal. Oh, how I pray that will be implemented not just for cards, but also for groups -- Richard Gas

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Scott Rossi
Hi Geoff: What I like most about your routine is no need for using the boundingRect. And you're right, one needs to store all the original geometry for continual resizing (at least, that's what I do). I've also come across what is apparently a scaling limitation (bug?) that affects scaling of a

Re: Drag and Drop

2013-05-10 Thread Scott Rossi
Yup.  Must have been other mouse messages/functions that were tried.  It used to be way back that folks would create drag routines that relied on the state of the mouse.  But mouse polling was deemed as quite inefficient, and was unreliable.  IIRC, this is  why the grab command was created.  Of

Re: Drag and Drop

2013-05-10 Thread Paul Hibbert
On 2013-05-10, at 9:17 AM, Ray Horsley wrote: > Have you tried really slowly dragging a file onto a stack window from the > desktop to see if it changes to the circle with a line through it even though > you've got this in your card's script: > > on dragEnter > set the dragAction to "copy" >

Re: Temporary Website Outage Expected

2013-05-10 Thread Robert Mann
Yeah what happened is that I just noticed INTERACHY can no more access, and answer "can't determine IP address of server". I got used to it so practical to save back on to the server! But the less practical on-rev FTP program works fine so far, as well as the revIgniter service that sits over ther

Re: Temporary Website Outage Expected

2013-05-10 Thread Mike Bonner
Says hosting services themselves will be unaffected so you're most likely ok. On Fri, May 10, 2013 at 2:30 PM, Robert Mann wrote: > Not the best timing just before run rev live!!! > > Boy! I had planned to finish some work on my server for that event, and a > planned presentation... I was relyi

Re: Data Grid Question

2013-05-10 Thread Mike Bonner
I forgot dg helper. And yes it is! zyrip did a great job. On Fri, May 10, 2013 at 2:30 PM, Andrew Kluthe wrote: > zyrip the slug's datagrid helper is entirely worth it if you aren't using > community edition 6.0 > > > On Fri, May 10, 2013 at 3:23 PM, Mike Bonner wrote: > > > It still won't let

Re: Temporary Website Outage Expected

2013-05-10 Thread Robert Mann
Not the best timing just before run rev live!!! Boy! I had planned to finish some work on my server for that event, and a planned presentation... I was relying on my on-rev server!! 4 DAYS off.. I'm embarrassed! Ill'' call to see how I can have access to another on-rev server temporarily?

Re: Data Grid Question

2013-05-10 Thread Andrew Kluthe
zyrip the slug's datagrid helper is entirely worth it if you aren't using community edition 6.0 On Fri, May 10, 2013 at 3:23 PM, Mike Bonner wrote: > It still won't let you add a custom column template for that column and > then edit the column behavior? The link I sent at the very first is th

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Monte Goulding
On 10/05/2013, at 10:00 PM, Thomas McGrath III wrote: > I won't be attending this year but I will be on the simulcast so I'll sort of > be there in spirit at the conference….. OK, I think you will find the mApp talk & demo interesting ;-) -- Monte Goulding M E R Goulding - software developme

Re: Drag and Drop

2013-05-10 Thread J. Landman Gay
On 5/10/13 3:17 PM, Alejandro Tejada wrote: Hi Richmmond, Richmond Mathewson-2 wrote [snip] So I don't know where you got the idea that this used not to work: [snip] mouseStillDown is not mentioned in this article: http://www.hyperactivesw.com/resources_polling.html Why? Mostly because it

Re: Data Grid Question

2013-05-10 Thread Mike Bonner
It still won't let you add a custom column template for that column and then edit the column behavior? The link I sent at the very first is the way to get it done, but if its not letting you set up the custom column and behavior script for that column i'm not sure how to fix it. Feel like sending

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Geoff Canyon
Hi Scott, I tried to simplify this and make it so that each control is adjusted in one step. This also optionally take different scaling factors for horizontal and vertical. Let me know if I missed anything. I'm not sure what everyone was seeing with resizing the group affecting the objects in it

Re: Drag and Drop

2013-05-10 Thread Alejandro Tejada
Hi Richmmond, Richmond Mathewson-2 wrote > [snip] > So I don't know where you got the idea that this used not to work: > [snip] mouseStillDown is not mentioned in this article: http://www.hyperactivesw.com/resources_polling.html Why? Al -- View this message in context: http://runtime-revol

Re: Data Grid Question

2013-05-10 Thread Joe Hamburger
Hi Again Mike, Yes, my datagrid is loading properly since I didn't lock messages. However, I still can't change the column behavior so the "Rank" column doesn't change. Is there a script I can use to load that column after each sort without changing the other data? Sorry to be such a pest. Joe

Re: Drag and Drop

2013-05-10 Thread Richmond
On 05/09/2013 11:59 PM, Scott Rossi wrote: OK, I accepted your dare and was surprised to see that it worked (didn't used to). Nice. Works in LC/RR 3.5.0 Works in LC/RR 2.2.1 So I don't know where you got the idea that this used not to work: perhaps you never tried it as it never occurred to

Question building standalone with external files

2013-05-10 Thread tbodine
Hi, LC gurus. I'm struggling a bit to build a standalone (Windows XP) with external image files in a separate folder. If I build with "move substacks to individual stackfiles" checked, then the standalone fails to show any of the 10 linked images. But if I build with the "Move substacks" box unc

Re: customPropertySets

2013-05-10 Thread Mark Wieder
Peter Haworth writes: > Bug? Well, I think it's undesirable and there are several "fixed" bugs in the database (8186, 8501, etc.) dealing with this situation. It's not quite a bug because it's documented behavior. There are reserved keywords for built-in things that you can't override (groups d

Re: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together

2013-05-10 Thread Mike Bonner
The newer excel spreadsheets (after office 97 I think) store their data in a compressed xml format. Basically a zipped file with a bunch of linked xml files in there. While its beyond me (don't like xml) it might be possible to reverse engineer things to get to whats needed. On Fri, May 10, 201

Re: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together

2013-05-10 Thread dunbarx
Hi. Is your question really asking that LC be able to read an ".xls" file? Fancy libraries notwithstanding, if you have your spreadsheet in "txt" format, you can read that file directly, and simply load into a table field, datagrid, or whatever. Of course, even in ".xls" format, copying to

Re: customPropertySets

2013-05-10 Thread Peter Haworth
Ha, you're right, didn't think to look in the dictionary. It's working as documented. Still seems a little strange to me but I can work round it. Pete lcSQL Software On Fri, May 10, 2013 at 10:54 AM, wrote: > Peter. > > > Not sure, but the dictionary says: > > > > > If

Re: How to copy a file so it creates missing folders in the path

2013-05-10 Thread Richard Gaskin
Klaus' raw materials are helpful, but I'm lazy and this comes up a lot for me so I wrote a function to take care of it for any number of levels in the path - from the old stdLib project: -- -- stdEnsurePath -- -- Checks the path specified in pPath to make sure each of its -- directories exists,

Re: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together

2013-05-10 Thread Mike Kerner
Mark, The easiest thing to do is to export your spreadsheet as a .csv file or as a .dbf file. >From there, you can (easily) use LC to get the data, so before we go any further, what do you want to do with the data in liveCode? The answer to that question will help determine the rest of the steps

Re: customPropertySets

2013-05-10 Thread dunbarx
Peter. Not sure, but the dictionary says: If using arbitrary custom property names, be aware that it won't be possible to access them by changing the customPropertySet if they clash with LiveCode language keywords. Instead, either use the array style notation above, or use a prefix to prev

Re: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together

2013-05-10 Thread Andrew Kluthe
This has been a need for several people lately, (myself included). SpreadLib is a commercial-only excel spreadsheet importing library being worked on by Curry Kenworth. He has several other libraries in the works regarding Spreadsheets; but, as far as I know, these were being worked on at this time

Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together

2013-05-10 Thread Mark Rauterkus
Hi Gurus! I don't see anything -- even an example stack -- regarding the merging of Spreadsheet data to LiveCode. I don't want to do a full scale SQL database thing, but would love to have it work with OpenOffice spreadsheet or even a Google Doc Spreadsheet. How to get data from rows and columns

customPropertySets

2013-05-10 Thread Peter Haworth
I'm seeing an unexpected behavior when using the customProperty set of an object. Here's the recipe. 1.Create a new stack and put a datagrid on it 2. Make a button with the following code: on mouseUp set the customPropertyset of group "Datagrid 1" to "dgProps" get the style of gro

Re: Drag and Drop

2013-05-10 Thread Ray Horsley
Well I haven't tried Linux but this behavior happens on both Mac and Windows. And Paul, thanks for the card script idea. I started out trying things in the card script but when I got the sporadic behavior I decided it was because a card is technically not a control. Not sure about that. In an

Re: Drag and Drop

2013-05-10 Thread Alejandro Tejada
Hi Ray, Ray Horsley-2 wrote > [snip] > The new thing I've discovered is I can consistently break Livecode's > accepting the drop, > evidenced by the cursor turning into a circle with a line through it > instead of a plus sign, > if I drag extremely slowly right at the point where I stop draggin

Re: How to copy a file so it creates missing folders in the path

2013-05-10 Thread tbodine
Thanks Klaus. That did the trick. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-copy-a-file-so-it-creates-missing-folders-in-the-path-tp4664628p4664661.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Drag and Drop

2013-05-10 Thread Paul Hibbert
Ray, Try moving your dragEnter & dragDrop to the card script (or the stack script), this works fine for me and I can't break it… on dragEnter if char -3 to -1 of the dragData["files"] is among the items of "jpg,png,gif" then set the dragAction to "copy" end if end dragEnter on dragD

Re: Wikipedia's LiveCode page updated

2013-05-10 Thread Alejandro Tejada
Hi Craig, dunbarx wrote > I edited just a bit. I hope you do not mind. I removed the part about > numerous big fixes, as I thought this was unnecessary and might possibly > raise an eyebrow or two about whether such things were an ongoing problem > with the program. > Your writing, as far as the

Temporary Website Outage Expected

2013-05-10 Thread Heather Laine
Dear List Members, Just to let you know that we are doing some planned engineering works on our website over the next few days. We expect the main website to be offline between Saturday and Tuesday. This will also affect the forums, which will be inaccessible during that period, and mail sent t

Re: link to 6.0.1 build 1513

2013-05-10 Thread Robert Brenstein
On 10.05.2013 at 0:49 Uhr +0200 Mark Schonewille apparently wrote: Hi, It is not that much easier than I thought. The point is: there is no big red Download button on the main page. There is only a green "Learn More" button. Apparently, this is sufficient for people to lose interest. I told h

Re: Drag and Drop

2013-05-10 Thread Ray Horsley
Very interesting point Jacqueline. In my case my image control displays nothing. I use it as a template, ultimately to make images out of what users drag and drops. It's the same dimensions as the stack itself. Since the image control displays nothing as it isn't linked (the FileName of it)

Re: Oval framed photo

2013-05-10 Thread Roger Guay
Hi David, Seems to me that the ideal solution to you problem is to make the image the backgroundPattern of your oval. Roger On May 10, 2013, at 4:22 AM, David Bovill wrote: > OK - seems like this works: > > - Image at back using ink "blendSrcAtop" > - Graphic in front, black filled oval

Re: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

2013-05-10 Thread Thomas McGrath III
Monte, I won't be attending this year but I will be on the simulcast so I'll sort of be there in spirit at the conference….. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 10, 2013, at 1:15 AM, Monte Goulding wrote: > I asked this exact question on StackOverflow a

Re: Oval framed photo

2013-05-10 Thread Mike Bonner
Would it work to size the picture appropriately, (as you're already doing) set your oval to opaque, and set the background pattern to the image? Then to change the image just change the background pattern of the oval. On Fri, May 10, 2013 at 5:22 AM, David Bovill wrote: > OK - seems like this

Re: Drag and Drop

2013-05-10 Thread Richmond
On 09/05/13 23:59, Scott Rossi wrote: OK, I accepted your dare and was surprised to see that it worked (didn't used to). Nice. Works in LC 4.5 Richmond. Though you're still left with the limitations of working within a single stack, and no dragging in or out. But if the technique works for y

[OT - I remembered this time]

2013-05-10 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Timothy Miller wrote : > Jerry Garcia dies, wakes up in a vast featureless space. Strange that he should touch upon a subject like that ! We recently finished writing a Musical Comedy called "Seven Stars in Paradise", where 7 famous, but dead musicians meet in Gabrie

Re: Oval framed photo

2013-05-10 Thread David Bovill
OK - seems like this works: - Image at back using ink "blendSrcAtop" - Graphic in front, black filled oval, with ink "blendSrcOver" - Group both objects and set the ink of the group to "blendSrcOver" Or use the following scripts: getprop show_Rounded >put the ink of me into someInk

Oval framed photo

2013-05-10 Thread David Bovill
Trying to work out the right combination of blends for an image (photo) and a graphic oval to create an oval mask. Ideally this is a group so that I can change the image and not something which depends on an alpha channel. Getting close - but nothing quite right yet. Suggestions? _

Re: Anyone else experiencing crashes with Commercial Build 1513?

2013-05-10 Thread André Bisseret
Le 9 mai 2013 à 18:56, J. Landman Gay a écrit : > On 5/9/13 3:00 AM, André Bisseret wrote: >> Thank you Shawn >> Seems not be my case. >> And I get no crash log >> I get a completely empty screen and have to force switch off (pushing the >> button (top right of the keyboard) for several seconds) >

Re: Drag and Drop

2013-05-10 Thread André Bisseret
Bonjour Ray, Recently I had a similar problem but while dragging from one locked field to an unlocked field on the same card. The dragdrop handler did not work until I "pass dragdrop" at the end of the dragdrop handler. Not sure that will help in your case! Best regards André Le 10 mai 2013

Re: How to copy a file so it creates missing folders in the path

2013-05-10 Thread Klaus major-k
Hi Tom, Am 10.05.2013 um 01:39 schrieb tbodine : > Hi, > > I'm working on a Win/Mac application and trying to copy a Preferences stack > from the defaultFolder to Application Data with a unique folder there to > house it. I build a path, including the folder name, but revCopyFile > silently fail

Re: [OT - I remembered this time]

2013-05-10 Thread Paul Maguire
On 10 May 2013, at 04:18, Timothy Miller wrote: > Biggie Big. Small change. ___ 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/