More on Beachballs (was Beachball cursor Help)

2010-11-09 Thread Scott Rossi
Recently, Joe Lewis Wilkins wrote: > Instead of the b/w cursor "busy", I'd love to use the more colorful beachball. > Anyone know how that is accomplished? I thought this would be a fun graphics challenge and created a demo stack that shows two methods of creating an OS X wait cursor (otherwise k

Re: Beachball cursor Help

2010-11-09 Thread pepetoo
Thanks Scott. Joe Wilkins Scott Morrow wrote: > Hello Joe, > > This isn't "more colorful" but Shao Sean's great ssMacExternal gives you > access to built-in OSX cursors including the animated "counting hand" cursor. > > Scott Morrow > > Elementary Software > (Now with 20% less chalk du

Re: Code for Database Transaction Processing

2010-11-09 Thread Peter Haworth
This isn't specific example including complete code but the general flow is: revExecuteSQL gDBID,"BEGIN TRANSACTION" . revdbExecute if error revRollBackDatabase gDBID exit end if . revdbExecute if error revRollBackDatabase gDBID exit end if . repeat the above f

Re: Beachball cursor Help

2010-11-09 Thread Scott Morrow
Hello Joe, This isn't "more colorful" but Shao Sean's great ssMacExternal gives you access to built-in OSX cursors including the animated "counting hand" cursor. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarys

Code for Database Transaction Processing

2010-11-09 Thread Wilde Electric
Hello, I have been unable to find any reference to code examples for doing Transaction Processing with SQLite DB I have only found a note from Trevor revExecuteSQL to BEGIN TRANSACTION etc without an example. Could someone provide a code example that starts with the BEGIN TRANSACTION and finishi

Re: More on IDE vs Standalone Performance issues

2010-11-09 Thread Peter Haworth
Right now, it's all part of a pretty large application but I think I can create a simple test stack with one card in it, although you'll still need the SQLite database. I haven't posted stack files before - how do I do that? Pete Haworth On Nov 9, 2010, at 12:10 PM, use-revolution-requ...@

Re: Saving/importing custom controls to/from file

2010-11-09 Thread Richard Gaskin
Terry Judd wrote: On 9/11/10 11:51 PM, "Richard Gaskin" wrote: Terry Judd wrote: Seems like it might be a bit simpler if I can suck an object straight out of a networked database onto the clipboard and paste it when and where I want it. Easier to update/maintain and less hassle than loading

Re: Indenting Challenge

2010-11-09 Thread Monte Goulding
>> And the thing that really makes this difficult is the fact that the text >> needs to be directly editable by users (cannot be in a locked field). >> >> Any suggestions on how I might tackle this? > > Can it be restricted to only editing one bullet at a time, or does the user > need the ability

Re: Saving/importing custom controls to/from file

2010-11-09 Thread Terry Judd
On 9/11/10 11:51 PM, "Richard Gaskin" wrote: > Terry Judd wrote: > >> Seems like it might be a bit simpler if I can suck an object >> straight out of a networked database onto the clipboard and paste >> it when and where I want it. Easier to update/maintain and less >> hassle than loading stacks

Re: Method question

2010-11-09 Thread Glen Bojsza
Yes this is true and there are several others that could apply as well. As I mentioned in my initial email there are many solutions and I wanted to get other people's perspective on their approach... this gives me freshness and a more rounded base. I could spend days in the dictionary and days co

Re: Beachball cursor Help

2010-11-09 Thread FlexibleLearning
Not sure who began this thread, but I have a 'running cheetah' using sequential frames if anyone wants to play with it. Not rocket science and not a cursor, but does show how smooth the engine is! pls apply off list. Hugh Senior FLCo ___ use-revolution

Re: Method question

2010-11-09 Thread Glen Bojsza
Yes this works correctly. Also, I took Peter's solution and found that starting a mouseUp outside the graphic does not report anything because the graphic has it's own mouseUp (and viceversa with mouseDown). The fix for this is to do a mouseUp and mouseDown for the card and determine if the mousel

Re: Method question

2010-11-09 Thread Phil Davis
Ah! I overlooked that. Here's a fix: -- card script -- local h1, h2, v1, v2, wasWithinGrc on mouseDown put false into wasWithinGrc put the clickH into h1 put the clickV into v1 end mouseDown on mouseMove h,v if h,v is within the rect of grc 1 then put true into wasWithinGrc e

Re: Method question

2010-11-09 Thread DunbarX
Hi. Check out the "mouseMove" message, the "mouseDown" message, "the clickLoc" function, and especially all their related links. You'll get it done quickly. Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this

Re: Method question

2010-11-09 Thread Glen Bojsza
Hi Peter, This was my original approach but the problem is similar to what I find here. I only get partial information when I start the combination of clicking and dragging the mouse from outside of the graphic --> across the graphic --> outside of the graphic again. Maybe the messages being tri

Re: [OT] legality of DVD backup

2010-11-09 Thread Bob Sneidar
And their cows shudder when someone goes to get a pint of milk. Bob On Nov 9, 2010, at 11:40 AM, Peter Brigham MD wrote: > On Nov 9, 2010, at 1:58 PM, Richmond wrote: > >> fluid measurement: Scots pint ( = 4 English pints) > > No wonder the Scots have a high tolerance for alcohol. "I'll have

Re: Method question

2010-11-09 Thread Glen Bojsza
Hi Phil, Yes it works BUT it doesn't constrain itself to the graphic. I want it to only to report the points if the user includes the graphic when they d their drag... as it currently stands it reports coordinates even if the user does not drag across the graphic. But other that that it is total

Re: Indenting Challenge

2010-11-09 Thread Bob Sneidar
Knowing nothing about CSS or HTML, I was able to get a text field to respond to a basic CSS definition. However, it doesn't seem to pay any attention to the margins and indents. Feature request anyone? Bob On Nov 9, 2010, at 10:39 AM, Scott Rossi wrote: > Hi List: > > Was hoping someone here

Re: [OT] legality of DVD backup

2010-11-09 Thread Peter Brigham MD
On Nov 9, 2010, at 1:58 PM, Richmond wrote: fluid measurement: Scots pint ( = 4 English pints) No wonder the Scots have a high tolerance for alcohol. "I'll have another pint, please." -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig

Re: Method question

2010-11-09 Thread Peter Brigham MD
On Nov 9, 2010, at 1:48 PM, Glen Bojsza wrote: I have a problem which I am not certain which method is valid or should be used (with Rev / Livecode there are sometimes too many ways of achieving a goal). I have a graphic on a card left 62 right 462. My objective is to allow a user to left

Re: Beachball cursor Help

2010-11-09 Thread Peter Brigham MD
On Nov 9, 2010, at 1:36 PM, J. Landman Gay wrote: On 11/9/10 11:33 AM, Peter Brigham MD wrote: It does seem that setting a cursor to an animated GIF ought to work out of the box the way setting a button icon to an animated GIF does But if there's a workaround for cursors I'd settle for

Re: Method question

2010-11-09 Thread Phil Davis
Hi Glen, See if this works: -- card script -- local h1, h2, v1, v2 on mouseDown put the clickH into h1 put the clickV into v1 end mouseDown on mouseUp put the mouseH into h2 put the mouseV into v2 put grcDragRegion() end mouseUp function grcDragRegion -- define mouse dr

Re: Beachball cursor Help

2010-11-09 Thread Peter Brigham MD
On Nov 9, 2010, at 12:47 PM, Devin Asay wrote: On Nov 9, 2010, at 10:33 AM, Peter Brigham MD wrote: On Nov 9, 2010, at 10:47 AM, Devin Asay wrote: So it seems like you could just set the cursor to the image id of your choosing, and increment it in a repeat loop, just like 'set cursor to bus

Re: Indenting Challenge

2010-11-09 Thread Dave Cragg
On 9 Nov 2010, at 18:39, Scott Rossi wrote: > > I've been asked to implement two levels > bulleting/indenting, something like the following (hope it comes across): > > • Main Bullet Item 1 that spans > multiple lines > • Main Bullet Item 2 > - Secondary Bullet 1 > - Secondary Bullet 2 w

Re: Indenting Challenge

2010-11-09 Thread Bob Sneidar
Sorry missed this part. Not sure if CSS supports hanging indents, which is I think what you are shooting for. Bob On Nov 9, 2010, at 10:39 AM, Scott Rossi wrote: > I can accomplish the first level bullet/indenting using a combination of > margins and firstIndent, but I can't figure out a way

Re: [OT] legality of DVD backup

2010-11-09 Thread Mike Bonner
Runtime is what happens when the Revolution is going badly. As in "Uh oh, its runtime!" Define: runtime; To advance to the rear. On Tue, Nov 9, 2010 at 12:05 PM, Bob Sneidar wrote: > Frankly, I think any revolution whose founding principle and main goal is > to "run time" is both absurd and eg

Re: Indenting Challenge

2010-11-09 Thread Richard Gaskin
The firstIndent property of the field can be set to a negative number, but that would only take care of one level of indenting. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCod

Re: Indenting Challenge

2010-11-09 Thread Ken Ray
> And the thing that really makes this difficult is the fact that the text > needs to be directly editable by users (cannot be in a locked field). > > Any suggestions on how I might tackle this? Can it be restricted to only editing one bullet at a time, or does the user need the ability to click

Re: Indenting Challenge

2010-11-09 Thread Bob Sneidar
Hi Scott. Unless you can find a way to embed a Microsoft object into a Revolution stack (never mind a standalone) I don't think there is a way to do this. Unless CSS is supported in HTMLText, I don't see how you can get any kind of special formatting to work in a native LiveCode field. Now if

Re: Indenting Challenge

2010-11-09 Thread Alex Tweedly
I haven't thought this through, but . there are only 3 (or maybe 4) different indent cases. create a suitable image for each case (i.e. normal, bulletted, 2nd level, continuation, etc.) which is blank space of the appropriate number of pixels wide then insert an extra character at the start

Re: Beachball cursor

2010-11-09 Thread stephen barncard
gee - I thought those ones created by the online generator were pretty good! you'll have to roll your own - hey that's fun... On 9 November 2010 08:40, Joe Lewis Wilkins wrote: > Thanks for the thoughts and suggestions, fellas. > > Guess I'll "someday" get around to implementing a "busy" cursor

Re: [OT] legality of DVD backup

2010-11-09 Thread Bob Sneidar
Frankly, I think any revolution whose founding principle and main goal is to "run time" is both absurd and egomaniacal. So you conquer the whole world! So what?? You are no closer to "running time" than you were before you started! The cheek! And another thing, if someone is going to start a rev

Re: [OT] legality of DVD backup

2010-11-09 Thread Richmond
On 11/09/2010 08:23 PM, Bob Sneidar wrote: Now I remember why I like the Scottish! Because they still flatly refuse to accept Metrics! Bob Well, really we are not totally keen on English stuff such as Yards, preferring Ells. The rot set in when the Scot parliament, packed with bribed folk

Method question

2010-11-09 Thread Glen Bojsza
I have a problem which I am not certain which method is valid or should be used (with Rev / Livecode there are sometimes too many ways of achieving a goal). I have a graphic on a card left 62 right 462. My objective is to allow a user to left click and drag across the graphic as if selecting a se

Indenting Challenge

2010-11-09 Thread Scott Rossi
Hi List: Was hoping someone here might have some uncanny insight into how to solve a text formatting dilemma... Basic problem: I need to create two levels on indenting in a block of text, but the text needs to always be directly editable and may span multiple lines. About a month or so back I me

Re: Beachball cursor Help

2010-11-09 Thread J. Landman Gay
On 11/9/10 11:33 AM, Peter Brigham MD wrote: It does seem that setting a cursor to an animated GIF ought to work out of the box the way setting a button icon to an animated GIF does But if there's a workaround for cursors I'd settle for that for now. I don't think animated cursors are suppo

Re: More on IDE vs Standalone Performance issues

2010-11-09 Thread Bob Sneidar
I think you are on to something there Peter. This may be something for the bug reports. Is there a test stack with the debug written into it that you could post so we can try it on our end? Bob On Nov 9, 2010, at 10:13 AM, Peter Haworth wrote: > Spent the last day or so trying to get some da

Re: [OT] legality of DVD backup

2010-11-09 Thread Bob Sneidar
Now I remember why I like the Scottish! Because they still flatly refuse to accept Metrics! Bob On Nov 9, 2010, at 9:44 AM, Richmond wrote: > On 11/09/2010 07:07 PM, J. Landman Gay wrote: >> On 11/9/10 5:35 AM, Dave Cragg wrote: >> >>> They may have dropped the name, but this Revolutionary tu

More on IDE vs Standalone Performance issues

2010-11-09 Thread Peter Haworth
Spent the last day or so trying to get some data to track this problem down by inserting code to write details of the time taken for various chunks of code to execute into a text file so I could see what was going on. I narrowed it down to a command that loads the text property of an optio

Re: Beachball cursor Help

2010-11-09 Thread Devin Asay
On Nov 9, 2010, at 10:33 AM, Peter Brigham MD wrote: > On Nov 9, 2010, at 10:47 AM, Devin Asay wrote: > >> So it seems like you could just set the cursor to the image id of >> your choosing, and increment it in a repeat loop, just like 'set >> cursor to busy'. Not tested: >> >> put 67890,67

Re: [OT] legality of DVD backup

2010-11-09 Thread Richmond
On 11/09/2010 07:07 PM, J. Landman Gay wrote: On 11/9/10 5:35 AM, Dave Cragg wrote: They may have dropped the name, but this Revolutionary tune was heard blasting out of one office window in Edinburgh recently: The compiler flag is deepest red To those that say Hypercard is dead But your stat

Re: Beachball cursor Help

2010-11-09 Thread Peter Brigham MD
On Nov 9, 2010, at 10:47 AM, Devin Asay wrote: On Nov 9, 2010, at 6:38 AM, Peter Brigham MD wrote: I'm just fooling around with trying out an animated cursor, and I can't get it to work. I tried importing an animated GIF then setting the cursor to it, but I only get what looks like an opaque

Re: [OT] legality of DVD backup

2010-11-09 Thread Bob Sneidar
Sounds like one of those songs the Orcs sang in the halls of Moria. Bob On Nov 9, 2010, at 3:35 AM, Dave Cragg wrote: > > On 9 Nov 2010, at 08:21, David Bovill wrote: >> >> Yes, I think this was one of the reasons for the LiveCode rebranding. > > > They may have dropped the name, but this R

Re: [OT] legality of DVD backup

2010-11-09 Thread J. Landman Gay
On 11/9/10 5:35 AM, Dave Cragg wrote: They may have dropped the name, but this Revolutionary tune was heard blasting out of one office window in Edinburgh recently: The compiler flag is deepest red To those that say Hypercard is dead But your static class can kiss my *ss We're in the iTunes st

OT: Hardware recommendation for graphics card?

2010-11-09 Thread Peter Alcibiades
Friend of mine asked for advice on what sort of graphics card to put in a machine he is putting together for his kid. It will be i5 probably, and he wants to get something that will be respectable with photoshop processing. An i3 of mine with onboard graphics was definitely not fast enough for

Re: Beachball cursor Help

2010-11-09 Thread Richard Gaskin
Devin Asay wrote: > I'm not sure exactly what's going on behind the scenes with the > 'busy' cursor. I got curious and looked into it. The cursor icons > are in a stack called "revCursors" for Windows and *nix, and a > stack called "revMacCursors" for Mac OS. They're just image objects. > I would

Re: Beachball cursor

2010-11-09 Thread Joe Lewis Wilkins
Thanks for the thoughts and suggestions, fellas. Guess I'll "someday" get around to implementing a "busy" cursor to my liking. Joe Wilkins ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe a

Re: Beachball cursor Help

2010-11-09 Thread Devin Asay
On Nov 9, 2010, at 6:38 AM, Peter Brigham MD wrote: > I'm just fooling around with trying out an animated cursor, and I > can't get it to work. I tried importing an animated GIF then setting > the cursor to it, but I only get what looks like an opaque white mask > of the first frame of the

Re: Beachball cursor Help

2010-11-09 Thread Peter Brigham MD
I'm just fooling around with trying out an animated cursor, and I can't get it to work. I tried importing an animated GIF then setting the cursor to it, but I only get what looks like an opaque white mask of the first frame of the GIF and no animation. Do I conclude that I have to cycle thr

Re: Saving/importing custom controls to/from file

2010-11-09 Thread Richard Gaskin
Terry Judd wrote: > Seems like it might be a bit simpler if I can suck an object > straight out of a networked database onto the clipboard and paste > it when and where I want it. Easier to update/maintain and less > hassle than loading stacks, making sure the right stack has focus > and fiddling

Re: [OT] legality of DVD backup

2010-11-09 Thread Richmond
On 11/09/2010 01:35 PM, Dave Cragg wrote: On 9 Nov 2010, at 08:21, David Bovill wrote: Yes, I think this was one of the reasons for the LiveCode rebranding. They may have dropped the name, but this Revolutionary tune was heard blasting out of one office window in Edinburgh recently: The comp

Re: Beachball cursor Help

2010-11-09 Thread AndyP
Hi Joe, Instead of playing with cursors just show an animated gif during your loading loop. on mouseUp set the visible of image id 1019 to true // set to your image id (initially hidden) // demo loading start repeat with tVarNum = 0 to 5 put tVarNum into fld "FldCount" wait 0 seco

RE: [OT] legality of DVD backup

2010-11-09 Thread John Dixon
Nice one... > From: dave.cr...@lacscentre.co.uk > Date: Tue, 9 Nov 2010 11:35:11 + > To: use-revolution@lists.runrev.com > Subject: Re: [OT] legality of DVD backup > They may have dropped the name, but this Revolutionary tune was heard > blasting out of one office window in Edinburgh recent

Re: [OT] legality of DVD backup

2010-11-09 Thread Dave Cragg
On 9 Nov 2010, at 08:21, David Bovill wrote: > > Yes, I think this was one of the reasons for the LiveCode rebranding. They may have dropped the name, but this Revolutionary tune was heard blasting out of one office window in Edinburgh recently: The compiler flag is deepest red To those that

PDF with digital certificates

2010-11-09 Thread JosepM
Hi, Any experience creating PDF with a digital certification? better insert the certification into a PDF. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-with-digital-certificates-tp3033365p3033365.html Sent from the Revolution - User mailing

Re: Need help with windows chars and mac chars

2010-11-09 Thread JosepM
Hi Mark, The database is already in UTF8, so the problem is in how characters are converted. Surely the problem is this. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-help-with-windows-chars-and-mac-chars-tp3032843p3033358.html Sent from the

Re: [OT] legality of DVD backup

2010-11-09 Thread David Bovill
On 8 November 2010 20:00, Richmond wrote: > > I have been known to break the law in my time; but I draw the line at > breaking the law singing > a Communist song; or, put it another way; it's an awful pity they didn't > shoot Che before the > creation of the iconic head. > Yes, I think this was

Re: Newbie question re fields --> javascript

2010-11-09 Thread David Bovill
Dave - as with "shell", "do" does a line - that is if you were to look at the string you create with: put "alert ('" & myScore & "');" it would span several lines. Imagine typing that into the script editor - it would make no sense right? So you need to have the LiveCode as a single line and not