AW: crash when moving between stacks (again)

2011-03-08 Thread Tiemo Hollmann TB
Hi Nicolas, Perhaps you could try to add a "pass ..." at the end of all standard handlers like open and close, so that the engine can catch them too. Actually I don't know what is happening inside, but perhaps the engine still wants to clean up some stuff, what it can't do without the pass? Tiemo

Re: Problem with iRev refresh

2011-03-08 Thread Paul Foraker
On Tue, Mar 8, 2011 at 3:51 AM, Jan Schenkel wrote: > Aren't you missing a quote after tURL to close the content attribute? Or is > that a typo when you wrote the email? > > ## > put format("") > into thePlaceToGo > put thePlaceToGo > ## > There is a missing quote, but as Alex pointed out, it's

Re: Problem with iRev refresh

2011-03-08 Thread Paul Foraker
Thanks, Alex, yeah, that's obviously an error. Since I got it working the other way, I won't mess with the code now, but I'll know to look more intensely next time. On Tue, Mar 8, 2011 at 5:20 AM, Alex Tweedly wrote: > I think the quotes are strangely placed in the 'format' statement below > (as

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread J. Landman Gay
On 3/8/11 10:44 PM, Terry Judd wrote: It's because of a weird glitch on OSX 10.5. If you have an old-style (non bundle) Mac app that is named the same (case sensitive) as its parent folder then you cant launch it other than by double-clicking its icon (shell, Livecode and Applescript launch meth

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread Terry Judd
On 9/03/11 3:07 PM, "J. Landman Gay" wrote: > On 3/8/11 4:37 PM, Terry Judd wrote: >> Due to an obscure but annoying issue with OSX 10.5 I need to be able to >> check for the existence of a file based on the case of its name before I can >> launch it from Livecode. The exists function isn¹t case

Re: Position of Answer Dialog

2011-03-08 Thread Mark Wieder
Stewart- Tuesday, March 8, 2011, 10:26:51 AM, you wrote: > Well if someone has a roll your own Answer Color dialog box then I would > really appreciate them sharing it. IIRC there are a few variations on revOnline. http://revonline2.runrev.com/stack/470/Color-Picker-Plugin http://revonline2.run

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread Jerry J
On Mar 8, 2011, at 8:07 PM, J. Landman Gay wrote: > On 3/8/11 4:37 PM, Terry Judd wrote: >> Due to an obscure but annoying issue with OSX 10.5 I need to be able to >> check for the existence of a file based on the case of its name before I can >> launch it from Livecode. The exists function isn¹t

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread J. Landman Gay
On 3/8/11 4:37 PM, Terry Judd wrote: Due to an obscure but annoying issue with OSX 10.5 I need to be able to check for the existence of a file based on the case of its name before I can launch it from Livecode. The exists function isn¹t case sensitive and the only idea I¹ve been able to come up w

Re: Standalone problem

2011-03-08 Thread J. Landman Gay
On 3/8/11 9:11 PM, edward cawley wrote: I modified Francis code as follows: put the platform into GVHoldPlatform if GVHoldPlatform = "MacOS" then put "misippfiles/" into GVStackPath -- No leading drive on the Mac. end if if GVHoldPlatform = "Win32" then -- Syste

iOS - scrolling editable fields - possible?

2011-03-08 Thread Terry Judd
I¹m attempting to implement a scrolling editable field in an iOS project and am really struggling. I¹ve attached a iOS scroller to a group containing the field and this all works fine when the field is locked. When the field is unlocked and the user drags over it it seems as if (and I¹ve only tes

Re: Standalone problem

2011-03-08 Thread Mark Wieder
edward- Tuesday, March 8, 2011, 7:11:05 PM, you wrote: > put item 1 of specialfolderpath("system") & > "/misippfiles/"into GVStackPath-- Get Stack Path with Disk ID. > replace "WINDOWS/" with empty in GVStackPath -- Remove Windows > Folder Name. What's your itemdelimiter set

Re: Standalone problem

2011-03-08 Thread edward cawley
Forgot to change the Subject line,try again. Still having trouble with a standalone to Windows. I know what's wrong but I'm not sure how to debug it. The program loads, the substacks work in the menubar and the navigation buttons all work, and some of the images grouped over the buttons also sh

Re: crash when moving between stacks (again)

2011-03-08 Thread dunbarx
Hi. I have little to offer in the way of help, but you have several places with: pass rawKeyUp exit rawKeyUp exit to top I can't imagine this is a problem, but it is certainly superfluous. Just an observation... Craig Newman -Original Message- From: Nicolas Cueto To: LiveCode

Re: Speeding the transition between cards

2011-03-08 Thread Mark Wieder
Eric- Do you happen to have an openCard or preOpenCard handler in the stack script? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your su

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread JosepM
So, from inside the dragdrop call checkAllValue pColumn, pValue? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-force-to-send-on-closeeditor-to-one-column-tp3342154p3342588.html Sent from the Revolution - User mailing list archive at Nabble.

Re: crash when moving between stacks (again)

2011-03-08 Thread Björnke von Gierke
Crashes should always be reported directly to runrev. They always get highes priority. And they can give you a workaround. However, they depend on the crashes to happen on their own machine, so you might need to send them example stacks. I suggest you contact support with this. On 9 Mar 2011,

Re: Speeding the transition between cards

2011-03-08 Thread Bob Sneidar
Do you think this is a load into memory problem? Maybe caching the cards will help, if it's not too much. Does the problem occur every time or just the first time you load a card? If it's just the first time, then maybe you could go to every card on startup with the screen locked to load everyth

Re: Speeding the transition between cards

2011-03-08 Thread Scott Rossi
Recently, Eric Peyron wrote: > I am creating my first eComic Livecode App, and I have a little problem I > can't seem to solve: the more objects/scripts on cards, the slower the > transition between these cards. I know there are ways to speed things up by > locking the screen, and I have tried to

crash when moving between stacks (again)

2011-03-08 Thread Nicolas Cueto
Dear List, Posted this back in June. Got no reply. But am posting gain, in hopes. In short, one of my more convoluted Rev creations keeps crashing when some of its stacks close. It's a combination of stacks. Here are the pieces: - standalone-stack (holds the engine) - central-stack (for game-st

Re: Position of Answer Dialog

2011-03-08 Thread RevList
How to use LiveCode on March 8, 2011 at 11:18 AM -0800 wrote: >For answer color (and answer printer for that matter) you seem to be out >of luck, as these seem to directly trigger the OS API. >For answer and ask the suspendStack message is your friend. > >on suspendStack > if "Answer Dialog" is a

Re: Speeding the transition between cards

2011-03-08 Thread Phil Davis
Hi Eric, 1) You can change the effectRate to a lower number on milliseconds - that might help. 2) You can use the 'fast' or 'very fast' modifiers on your visual effects. Both of these ideas assume you're using visual effects. Phil Davis On 3/8/11 3:19 PM, Eric Peyron wrote: Hi all, I am

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread Bob Sneidar
OIC you are dragging into an active editor? Interesting. I'd like to see how that works out. I think from an interface perspective, I'd prevent a drag and drop operation to anything in a dataGrid EXCEPT the editor, if there was an active edit session. Bob On Mar 8, 2011, at 1:09 PM, JosepM w

Speeding the transition between cards

2011-03-08 Thread Eric Peyron
Hi all, I am creating my first eComic Livecode App, and I have a little problem I can't seem to solve: the more objects/scripts on cards, the slower the transition between these cards. I know there are ways to speed things up by locking the screen, and I have tried to add "lock screen" in the

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread zryip theSlug
On Tue, Mar 8, 2011 at 11:51 PM, JosepM wrote: > Hi, > > I have a validation for each column. Ok, so I assume you have defined a custom column behavior. Your closeFieldEditor should be something like this: on closeFieldEditor pFieldEditor local tValue put the text of pFieldEditor into tVal

Re: Odd menu

2011-03-08 Thread dunbarx
Richard. Odd, but that explains it. You cannot have the last menu be a custom menu. I guess this was true in HC as well. If you created a new menu, you did not have control over where it was placed except within the confines of the built-in menuSpace open to you. And the "help" menu was alway

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread JosepM
Hi, I have a validation for each column. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-force-to-send-on-closeeditor-to-one-column-tp3342154p3342398.html Sent from the Revolution - User mailing list archive at Nabble.com. _

Comparing filenames based on case sensitive filepaths

2011-03-08 Thread Terry Judd
Due to an obscure but annoying issue with OSX 10.5 I need to be able to check for the existence of a file based on the case of its name before I can launch it from Livecode. The exists function isn¹t case sensitive and the only idea I¹ve been able to come up with to date is to use the files functio

Re: Odd menu

2011-03-08 Thread Richard Gaskin
dunbarx wrote: I threw a small mainstack together and saved it. I used the menuBuilder to add a new menu (a default, "menu 4") and populated it with a few menuItems (also defaults, "item 1", "item 2", etc. up to "item 6"). No other actions, just this build procedure. But Menu 4 truncates the

Odd menu

2011-03-08 Thread dunbarx
I threw a small mainstack together and saved it. I used the menuBuilder to add a new menu (a default, "menu 4") and populated it with a few menuItems (also defaults, "item 1", "item 2", etc. up to "item 6"). No other actions, just this build procedure. But Menu 4 truncates the last two menuIte

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread zryip theSlug
On Tue, Mar 8, 2011 at 10:09 PM, JosepM wrote: Hi Josep, I suppose you mean "CloseFieldEditor" The CloseFieldEditor message is associated with the cell in edition (named field Editor). In a drag & drop operation there is no cell in edition, and executing the "CloseFieldEditor" event after the d

Re: How to develop and deploy with ListMagic within the GLX application framework?

2011-03-08 Thread zryip theSlug
On Mon, Mar 7, 2011 at 11:55 AM, Keith Clarke wrote: Hi Keith, > Great lesson - I have a checkbox in a cell. I did have to divert from your > lesson slightly. So, below are the additional steps that I took - just in > case you want to update your lesson for the following scenario... > > I want

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread JosepM
Hi Bob, "drop a row" means that the user perform a drag and drop operation from one datagrid to other datagrid. When the "on dragDrop" is finish it, I need fire the closeeditor. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-force-to-send

Re: datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread Bob Sneidar
I don't know what you mean by "drops a row". Do you mean deletes a row? closeEditor gets sent to the dataGrid. The column is not an entity per se, the way a row is. You can get the data of an index or row and get the array for that row, but you cannot get the data of a column in the same way.

Re: Position of Answer Dialog

2011-03-08 Thread Bob Sneidar
Oh hey how about that! Probably should pass suspendStack though. Bob On Mar 8, 2011, at 11:18 AM, Malte Brill wrote: > I am a little late to the party... > > For answer color (and answer printer for that matter) you seem to be out of > luck, as these seem to directly trigger the OS API. > Fo

Re: [ANN] New ChartMaker release

2011-03-08 Thread Till Bandi
if you don't have it yet – ge it! if you have it – upgrade!! It's easy to learn, flexible to use and even better in the new version. The only excuse for not having it in your toolbox is if you don't ever work with numbers... so everybody needs it. And Hugh deserves your support! A Happy user

datagrid: force to send "on closeeditor" to one column

2011-03-08 Thread JosepM
Hi, How can send a "on closeeditor" to one particular column of a datagrid? I do some checks into the closeeditor and when the user drop a row I need fire the closeeditor. Any idea? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-force-to

Re: Coding Challenge

2011-03-08 Thread JosepM
And if you assign a value (a weight) to the relation? 0 or 1 in function if are older or younger, assign the relation value to the person and compare the persons with the relation value or weigth. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Coding

Re: Coding Challenge

2011-03-08 Thread Nonsanity
That's a lot of children. Hmmm... Are you looking to use relative ages instead of actual ages because the entry times (old photographs for example) involve the children at different ages? The entry of all that is going to be the biggest headache, I imagine, as every relationship will require select

Re: Coding Challenge

2011-03-08 Thread Brian Yennie
Malte, How about something like this: 1) Normalize all of your relations to "older than" (reverse of "younger than") So if you started with: Malte is older than Bjornke Mark is older than Malte Mark is younger than Fred George is younger than Fred You now have these ordered pairs: Malte,Bjorn

Re: Coding Challenge

2011-03-08 Thread Peter Haworth
I've got a feeling that any mathematician lurking on this list could give the algorithm to do this in no time - something to do with "set theory"?. My clumsy attempt at doing would probably involve creating an array with the person's name as the key and the assigned pseudo age as the value. Th

Re: Position of Answer Dialog

2011-03-08 Thread Malte Brill
I am a little late to the party... For answer color (and answer printer for that matter) you seem to be out of luck, as these seem to directly trigger the OS API. For answer and ask the suspendStack message is your friend. on suspendStack if "Answer Dialog" is among the lines of the openstacks

Re: Coding Challenge

2011-03-08 Thread Bob Sneidar
Dang I was just formulating that, but you would have to build a list of already assigned people and then pop them in the middle as logic dictates. Bob On Mar 8, 2011, at 11:05 AM, Peter Haworth wrote: > Would it work to assign "pseudo ages" to each of the people based on the > given relation

Re: Coding Challenge

2011-03-08 Thread Peter Haworth
Would it work to assign "pseudo ages" to each of the people based on the given relationships, starting with the first? In your example: Malte (1000) is older than Bjornke(500) Mark (1500) is older than Malte Then you can sort by the age as others have suggested. Seems to work well on this sma

Re: Position of Answer Dialog

2011-03-08 Thread Bob Sneidar
That spelling of Dialog looks suspiciously French to me. Extra letters that serve absolutely no purpose whatsoever in the actual pronunciation of the word... Yup, French for sure. ;-) Bob On Mar 8, 2011, at 10:45 AM, Richmond wrote: > I have recently stopped using > substacks and started usin

Re: Position of Answer Dialog

2011-03-08 Thread Bob Sneidar
Okay so here is the thing. You can get into the script of the answer (or I assume the Answer Color) stack and fudge with the code, but I wouldn't recommend that, partly because you could hose it if not careful, and partly because there is a good chance the next time Revolution is updated you wil

Re: Coding Challenge

2011-03-08 Thread Malte Brill
Thanks for the head ups folks, Björnke and Mark: I do not have the exact ages to sort by. All I do have is relations: Malte is older than Björnke Mark is older than Malte And now I need to compute if it is valid to say: - Björnke is older than Mark (obviously not) - Björnke is the same age as

Re: Position of Answer Dialog

2011-03-08 Thread Richmond
On 03/08/2011 08:26 PM, RevList wrote: Bob Sneidar on March 7, 2011 at 9:14 AM -0800 wrote: I asked this a couple years back myself. I believe the consensus was you had to roll your own. Well if someone has a roll your own Answer Color dialog box then I would really appreciate them sharing it.

Re: Position of Answer Dialog

2011-03-08 Thread stephen barncard
no, no, that means 'make your own!' a wonderful exercise in Livecode scripting. Learn about modal dialogs and the dialogData global property. Add all the buttons and positioning you want. Return data in arrays! sqb On 8 March 2011 10:26, RevList wrote: > Bob Sneidar on March 7, 2011 at 9:

Re: Position of Answer Dialog

2011-03-08 Thread RevList
Bob Sneidar on March 7, 2011 at 9:14 AM -0800 wrote: >I asked this a couple years back myself. I believe the consensus was you >had to roll your own. Well if someone has a roll your own Answer Color dialog box then I would really appreciate them sharing it. *

Re: Help with mySQL

2011-03-08 Thread Bob Sneidar
It may have been hijacked. Bob On Mar 7, 2011, at 6:35 PM, Jerry J wrote: > On Mar 7, 2011, at 9:39 AM, Mark Schonewille wrote: > >> Ahh, I get it. I don't know which operating system you are using, but this >> might help: http://qery.us/ob > > Safari claims that link has bad intentions. Wh

Re: Coding Challenge

2011-03-08 Thread Nonsanity
On Tue, Mar 8, 2011 at 10:59 AM, Nonsanity wrote: > Without it, there are TWO names missing from the youngest side of the > list... > Correction: ...from the OLDEST side of the list, and therefore are the youngest... Gotta keep things clear in stuff like this. I almost let that slide, but..

Re: Coding Challenge

2011-03-08 Thread Nonsanity
Oh! I forgot to add "J < W" to the list when I re-did it in the email. It comes from the "in that order" phrase below. Without it, there are TWO names missing from the youngest side of the list, so W and J would be grouped together (into X) like so: T < R X < T X < T X < R X < R R < S X < R X < M

Re: Coding Challenge

2011-03-08 Thread Nonsanity
On Tue, Mar 8, 2011 at 10:07 AM, Nonsanity wrote: > Malte, are you looking for a general solution to problems such as this: > > "Tom is younger than Rose, but older than Will and Jack, in that order. > Rose is younger than Susie, but older than Jack. Jack is younger than Jim. > Susie is older tha

Re: Coding Challenge

2011-03-08 Thread Nonsanity
Malte, are you looking for a general solution to problems such as this: "Tom is younger than Rose, but older than Will and Jack, in that order. Rose is younger than Susie, but older than Jack. Jack is younger than Jim. Susie is older than Rose, but younger than Jim. Jim is older than Tom. Who is t

Re: Live LiveCode Code event #13

2011-03-08 Thread Björnke von Gierke
Hi people who like to be educated, it's wrap up time: Here you can find Marks presentation about how to use Unicode in LiveCode: http://blog.livecode.tv/2011/03/wrapup-of-event-13/ Sadly, David has not supplied any material about his talk on participatory coding and using a wiki within a LiveCod

Re: Coding Challenge

2011-03-08 Thread Mark Schonewille
Malte, Create lines with on each line the name and age of the subject (and possibly an id number), sort by age, check the line numbers. What exactly do you want to do with the result? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy

Re: Coding Challenge

2011-03-08 Thread Björnke von Gierke
I'm not sure i understand the problem. given: Paul 3 Peter 6 Joanne 6 fritz 9 Madelaine 15 sort by word 2 of each put lineoffset("paul", theList) - lineoffset ("peter") into theCompare if theCompare < 0 then --child one is younger else --child 2 is younger end if that should solve all cases, un

Re: Problem with iRev refresh

2011-03-08 Thread Alex Tweedly
I think the quotes are strangely placed in the 'format' statement below (assuming it was copied/pasted). put format("") into would produce On 08/03/2011, at 9:44 AM, Paul Foraker wrote: I'm working on a registration page for a training ( www.blueskytrainings.com/register.irev ). I'm havin

Coding Challenge

2011-03-08 Thread Malte Brill
Hi folks, this is over my head. I have a problem I can not tackle alone, so please let me scream for help... HEELLLP Imagine a group of kids: Paul,Peter,Fritz,Madeleine,Joanne (and any additional number of kids) I want to programmatically test on age relations of those kids: e.

Re: Scrolling text w/o scroll bars in iOS

2011-03-08 Thread Randy Hengst
Thank you Jacque… I'll give it go. take care, randy hengst - On Mar 7, 2011, at 11:03 PM, J. Landman Gay wrote: > On 3/7/11 9:02 PM, Randy Hengst wrote: >> I'd love to see a specific example of scrolling one text >> field with the iOS scroller showing. I really haven't been able to >> organiz

Re: Problem with iRev refresh

2011-03-08 Thread Jan Schenkel
--- On Mon, 3/7/11, Paul Foraker wrote: > Problem solved (thank you, > Cristophe!). > > Instead of > > put format(" content=\"0;url=" &tURL & ">") into > thePlaceToGo > put thePlaceToGo > > which fails on Safari, Chrome and IE. > > This works perfectly on all tested browsers: > > -- put forma