returnInField doesn't work

2005-06-26 Thread Friedrich F. Grohmann
My setup is Rev 2.6 on a G4 notebook under Mac OS 10.3.2. The problem: A very simple stack with one field containing text and another field for search purposes. The text is Chinese and so is, of course, the word typed into the search field. The script of the latter uses a returnInField handler

Re: Can Dreamcard access Runtimime standalone?

2005-06-26 Thread Douglas Westbrook
Alex, I just retested my open .rev stack accessing custom properties in my standalone, so I know this works. It was only Dreamcard that I am uncertain about. I hate to assume but I guess if it works in Runtime Revolution this way it will work in Dreamcard too? I am thinking of using Dreamc

Re: is within ... polygon shape?

2005-06-26 Thread Alex Tweedly
Jim Hurley wrote: Alex, Your ascii figures didn't translate very well in my email app. Sorry. The first figure was (as I think you guessed) a "+" with one shape being the upright and the other being the cross-bar - so neither has vertices within the other shape. But I think I understand t

XP arithmetic

2005-06-26 Thread John Ridge
I've just hit something that seems to me very weird. I'd appreciate any thoughts. The (tiny) problem is to calculate the interest due on a sum of common-law compensation - our client X paid certain sums over a period; the court has now agreed that they should not have been required to pay. OK, th

Re: "repeat for each" in reverse order ?

2005-06-26 Thread Thomas McGrath III
You can also do repeat with i = (the num of items in myVar) down to 1 -- do something end repeat Tom On Jun 26, 2005, at 7:06 PM, Thomas McCarthy wrote: I'm pretty sure you can do it--because I do it (and I'm not a guru) Here's what I do: put the num of items in myVariable into tnum --or

Re: Can Dreamcard access Runtimime standalone?

2005-06-26 Thread Alex Tweedly
Douglas Westbrook wrote: I don't have Dreamcard. Can somebody who does have Dreamcard tell me if Dreamcard can access custom properties from a standalone created with Runtime Revolution as far as I know, once it's in a standalone, even a full version of Rev can't access the custom props -

Re: Fast/slow code example (was: Re: compileIt for revolution?)

2005-06-26 Thread Dar Scott
On Jun 26, 2005, at 4:01 PM, Jeanne A. E. DeVoto wrote: It should be mentioned in the docs. (And probably is and I don't know where.) In the dictionary for the "repeat" control structure. ;-) I thought it would be, but when I skimmed over that, I missed it. Dar ___

Re: compileIt for revolution?

2005-06-26 Thread Alex Tweedly
I sent this message Saturday, and it just came back to me as bounced (because the list-server was off-line). So here it is again - with an addendum ... Geoff Canyon wrote: On Jun 24, 2005, at 4:26 AM, Jon wrote: With all due respect, Jim, if you are trying to do even simple math on

Re: Fast/slow code example (was: Re: compileIt for revolution?)

2005-06-26 Thread Jeanne A. E. DeVoto
At 1:09 PM -0600 6/24/2005, Dar Scott wrote: On Jun 24, 2005, at 12:42 PM, Jim Bufalini wrote: However, the "repeat with i =" form being slower than the "repeat for each" was news to me! It should be mentioned in the docs. (And probably is and I don't know where.) In the dictionary for th

Re: Can Dreamcard access Runtimime standalone?

2005-06-26 Thread Dan Shafer
Dreamcard is designed to give Rev developers a way to distribute stacks (which are small) to people who have the Dreamcard Player, avoiding the necessity of distributing large stand-alone applications. So the answer to your first question is that a standalone doesn't require Dreamcard or an

Re: Cursed Cursor

2005-06-26 Thread SimPLsol
This is bug 885. The Rev team is aware of it. Still, a few more votes won't hurt. Don't be mislead by the title - this is not just an OS 7.5 bug. Paul Looney ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscri

Re: Internet file transfer

2005-06-26 Thread Richard Miller
This is the kind of feedback I'm really looking for. Very useful. Thanks. Richard On Jun 26, 2005, at 7:08 PM, Sarah Reichelt wrote: Our software needs to transfer 1-2 MB files to and from a dedicated server on a regular basis (generally 5-10 times per hour for any given user). The connection

Re: Internet file transfer

2005-06-26 Thread Sarah Reichelt
Our software needs to transfer 1-2 MB files to and from a dedicated server on a regular basis (generally 5-10 times per hour for any given user). The connection is always via DSL or cable modem, but reliability is still critical. If a file transfer should be interrupted for any reason and n

Re: "repeat for each" in reverse order ?

2005-06-26 Thread Thomas McCarthy
I'm pretty sure you can do it--because I do it (and I'm not a guru) Here's what I do: put the num of items in myVariable into tnum --or lines, or words,or.. repeat with i = tnum down to 1 do something with item i of myVariable --drink coffee end repeat __

Re: IP conflict?

2005-06-26 Thread Dar Scott
On Jun 26, 2005, at 4:34 PM, Dar Scott wrote: The second one (in the netConnectOne handler) can cause nested responses, so if some of those variables are global then the values will get scrambled. This might cause both responses to go to only one client. I didn't word that well. The 'wait w

Internet file transfer

2005-06-26 Thread Richard Miller
Our software needs to transfer 1-2 MB files to and from a dedicated server on a regular basis (generally 5-10 times per hour for any given user). The connection is always via DSL or cable modem, but reliability is still critical. If a file transfer should be interrupted for any reason and not c

Re: Cursed Cursor

2005-06-26 Thread Sarah Reichelt
I'm getting the garbage when the default cursor is supposed to be displayed. It makes it hard to see the 'hot spot'. I remember seeing someone had this problem before -- which rev internal stack is supposed to handle this, and does swapping it out for a fresh stack fix the problem? Also

Re: IP conflict?

2005-06-26 Thread Dar Scott
On Jun 26, 2005, at 3:52 PM, Nicolas Cueto wrote: Ok, the problem. A request for data made to a server stack by stacks via a LAN will on occassion return empty. The method you have can create multiple sockets with the same socket id. This can cause confusion in write, read and close. For

Re: Control of ask-dialogs position in Windows standalone

2005-06-26 Thread Mark Schonewille
Hi Kresten, I can think of two approaches. One approach needs some editing of the stack "Ask Dialog", the other uses a custom dialog. I'll tell how you might edit the stack "Ask Dialog" as you probably know how to create a custom dialog. Edit the script of the stack "Ask Dialog". There, you

IP conflict?

2005-06-26 Thread Nicolas Cueto
Hello All, Ok, the problem. A request for data made to a server stack by stacks via a LAN will on occassion return empty. Sometimes things work perfectly and all eight stacks will receive the data. But when at times one or two of the stacks do not receive the requested data, the user must resta

How to put a dash in front of a menu item

2005-06-26 Thread Claudi Cornaz
Hi all Still working/improving my demo of a textMenu. It's almost ready. I can now also increase/decrease textsizes. Lighten/darken is just a snap away (it's the same as increase/decrease with a slight twist) and the menu displayscorrectly all attributes. There is just one thing I'd like to add

Re: Custom Modal List Dialog Methodology

2005-06-26 Thread Mark Schonewille
Stephen, Modal dialog windows prevent scripts that are not in the modal stack from continuing to execute. That is why I usually put a function like yours into the modal stack itself. The function may open the stack and wait with messages until there is no window , before returning the dialogdata.

Re: "repeat for each" in reverse order ?

2005-06-26 Thread Dennis Brown
JB, The repeat for each only goes in forward sequential order starting at the beginning, except for arrays where the order is indeterminate. I have requested a sequential access enhancement to allow for constructing this type of looping in a more flexible way (like parallel instantiation,

Re: Control of ask-dialogs position in Windows standalone

2005-06-26 Thread Mark Schonewille
Hi Kresten, I can think of two approaches. One approach needs some editing of the stack "Ask Dialog", the other uses a custom dialog. I'll tell how you might edit the stack "Ask Dialog" as you probably know how to create a custom dialog. Edit the script of the stack "Ask Dialog". There, you will

Re: "repeat for each" in reverse order ?

2005-06-26 Thread Dar Scott
On Jun 25, 2005, at 3:04 AM, jbv wrote: Is there a way to use "repeat for each element thisIndexTerm in listOfTerms" in reverse order, like in "repeat with i=number of items of myVar down to 1" ? I don't think there is an order in 'repeat for each element'. I think the elements are processe

Can Dreamcard access Runtimime standalone?

2005-06-26 Thread Douglas Westbrook
I don't have Dreamcard. Can somebody who does have Dreamcard tell me if Dreamcard can access custom properties from a standalone created with Runtime Revolution and can Dreamcard open a Revolution .rev file that is not a standalone? Thanks for any help. Doug __

Re: "repeat for each" in reverse order ?

2005-06-26 Thread Mark Smith
How about put the keys of myArray into kList repeat for each line L in kList put cr & L before newKlist end repeat delete char 1 of newKlist repeat for each line L in newKlist --doStuff end repeat It's two loops, admittedly, but unless it's a very big array, it'd be really quick. You c

Re: compileIt for revolution?

2005-06-26 Thread Jon
I already posted the code and announced it on this list: look for my image processor in my user space, open a large image (at least 1000x1000), select Bright, and then Linear. I look forward to seeing what you optimists ... er ... optimizers come up with! :) Jon Geoff Canyon wrote: On

Cursed Cursor

2005-06-26 Thread Stephen Barncard
I'm getting the garbage when the default cursor is supposed to be displayed. It makes it hard to see the 'hot spot'. I remember seeing someone had this problem before -- which rev internal stack is supposed to handle this, and does swapping it out for a fresh stack fix the problem? Also is

Deep-mask feature and alwaysbuffer

2005-06-26 Thread Wilhelm Sanke
When trying to use the new deep-mask feature of Rev 2.6 (engine version 2.6.5, build 108) I experienced odd behavior while using the Metacard IDE (Windows XP) After setting the windowshape of a new stack to the ID of the imported semi-transparent PNG, the stack completely vanished. Testing the

Re: Strange saving behavior

2005-06-26 Thread Mark Waddingham
Hi Xavier, I've just tested this on WinXP (on NTFS) by: 1) creating a new stack 2) setting it's filename property to 'FooBar.rev' 3) saving the stack using 'save stack' This results in a stack saved to disk with the filename 'FooBar.rev' in the defaultFolder. Furthermore just to rule out ID

Re: "repeat for each" in reverse order ?

2005-06-26 Thread Phil Davis
It sounds like you're looking for a feature that doesn't yet exist (or at least I'm not aware of it). I could see having a property that defines the direction in which the 'repeat for each' structure does its looping, like this: set the repeatDirection to "descending" -- or "down", "reverse"

Re: Contextual menus and polygons

2005-06-26 Thread Jim Hurley
Message: 9 Date: Fri, 24 Jun 2005 23:01:24 -0400 From: Thomas McGrath III <[EMAIL PROTECTED]> Subject: Re: Contextual menus and polygons To: How to use Revolution Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed Jim, When you installed 2.6 the settings

Custom Modal List Dialog Methodology

2005-06-26 Thread Stephen Barncard
I'm currently recreating in REV what I used to use a Rinaldi XCMD for... namely a listbox dialog for choosing items from a list. The idea is to have a function function listbox pPromptData,pListData that puts up a window with a prompt field, and a list field. Select and click an item or hit

Re: is within ... polygon shape?

2005-06-26 Thread Jim Hurley
Message: 15 Date: Sat, 25 Jun 2005 00:10:18 +0100 From: Alex Tweedly <[EMAIL PROTECTED]> Subject: Re: is within ... polygon shape? To: How to use Revolution Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Jim Hurley wrote: Take a look at: go sta

[ANSWER TO OWN QUESTION]Re: Custom Modal List Dialog Methodology

2005-06-26 Thread Stephen Barncard
I think I got it while the listserv was down...this works nicely. Wait For Messages inside a repeat loop conditional on a flag. The alternate single line method, wait until gDialogFlag is "false" with messages as I've found and Dave Cragg suggested, seems to tie up resources a la the dreade

Re: Confirm Long File Name Bug in Player Object

2005-06-26 Thread Jon
Is this just a Mac problem, or is it also a Windows problem? :) Jon Sivakatirswami wrote: OK I throw in the towel... I'll rename the files for now on the users hard drive while retaining the long file name for all other processes other than simply to play the player... this solves the imm

Re: bug fixes

2005-06-26 Thread Mark Wieder
Richard- Friday, June 24, 2005, 5:56:36 PM, you wrote: RG> It seems the drive to fix bugs they expressed at RevCon West is well in RG> motion Yes - I'm excited about this. Very excited. If this is what happens from bringing just *two* runrev folks to a conference, then I suggest we hold RevC

Re: OT : WinXP limits question

2005-06-26 Thread Mark Wieder
jbv- Saturday, June 25, 2005, 2:06:11 AM, you wrote: j> What is the maximum number of elements (files or subfolders) j> that a folder can contain in WinXP ? I don't think there's a physical limit. There used to be a limit of 63 files or folders in the root directory, but I don't know if that car

Re: mysql oddities

2005-06-26 Thread Trevor DeVore
On Jun 24, 2005, at 12:55 AM, Howard Freeman wrote: I've been using rev to link up to MySQL for a while but I've just changed my web space supplier and I can't connect to MySQL. I thought that this was their problem but it's stranger than that. If I use the database query builder then the c