Re: Combo boxes in background groups

2006-07-22 Thread James Spencer
On Jul 22, 2006, at 12:37 AM, J. Landman Gay wrote: James Spencer wrote: Does anyone know of an easy way to include a combo box in a background but permitting each card to have a different value. I can simulate it a couple different ways, e.g. storing a custom property with the card

Combo boxes in background groups

2006-07-21 Thread James Spencer
Maybe there's no easy way to do this but it surprised me a bit: I would like to have a combobox in a background group with what would be its sharedText property set to false, assuming it had a sharedText property. Being a button, it of course does not so I hoped its sharedHilite property

Re: What's The Verdict, Web or Not?

2006-07-02 Thread James Spencer
On Jul 2, 2006, at 9:22 PM, GregSmith wrote: Though I've only been reading this forum for a short time, I've now got the definite impression that the Revolution environment is for developers - hard core developers . . . well, programmers - hard core programmers . . . not weak,

Valentina external on OS X

2006-07-01 Thread James Spencer
I'm trying to try out the demo Valentina external without success so far. Attempts to initialize with: get Valentina_Init( 10 * 1024 * 1024 ) fails with a syntax error, I assume because the external is not being seen by Rev. I've set my stack's exteral property to:

Re: Valentina external on OS X

2006-07-01 Thread James Spencer
On Jul 1, 2006, at 3:12 PM, Trevor DeVore wrote: On Jul 1, 2006, at 10:22 AM, James Spencer wrote: I'm trying to try out the demo Valentina external without success so far. Attempts to initialize with: get Valentina_Init( 10 * 1024 * 1024 ) fails with a syntax error, I assume because

Re: [OT (slightly) ] Re: Please confirm your message

2006-06-20 Thread James Spencer
On Jun 20, 2006, at 4:00 PM, Alex Tweedly wrote: Every time I send a message to the use-rev list, I get an email such as the one below. It's from a list member who hasn't had the good grace to set up his spam filters to accept mail from the list that he (or she) joined. Seems to me it's

Re: stack crashes Rev

2006-06-10 Thread James Spencer
On Jun 10, 2006, at 4:24 PM, Byron Turner wrote: The current version of a stack crashes rev as do the last 2 versions of the stack. Versions 3 generations ago are fine. It probably would only take me half a day to recreate what was lost, but I'd sure like to avoid that. Is there some

Re: Location of cloned stack

2006-05-09 Thread James Spencer
, the topLeft of the clone will be offset 32 pixels from the topLeft of the defaultStack. I don't think you can stop that from happening. HTH - Phil Davis James Spencer wrote: This is a curiosity question. OS X 10.4.6 and Rev 2.7.1. My application contains a substack which I clone

Location of cloned stack

2006-05-08 Thread James Spencer
This is a curiosity question. OS X 10.4.6 and Rev 2.7.1. My application contains a substack which I clone as needed for a multiple windows. I had thought a cloned stack inherited all of the properties of the original (other than it's name) but for some reason, the location of my cloned

Re: Open stack in safe mode

2006-04-15 Thread James Spencer
Or even easier, click the Messages button up in the toolbar before opening the stack and then click it again once it is open. James P. Spencer Rochester, MN [EMAIL PROTECTED] Badges?? We don't need no stinkin badges! On Apr 14, 2006, at 11:49 PM, Jim Ault wrote: On 4/14/06 9:23 PM,

Re: Window staggering

2006-04-12 Thread James Spencer
Richard and Jim thank you both. It was because I was well aware that there were these exceptions not listed and because it is not a trivial task that I asked my question. A sick part of me is glad to see I have not missed some obviously, and trivially easy solution. Now off to code a

Window staggering

2006-04-11 Thread James Spencer
This should be really easy and I don't want to rediscover gravity so I'll ask first: does anyone here have a simple algorithm for staggering new windows in a multiwindow app? I've gotten spoiled by Cocoa, etc. which takes care of this for me but cloning a template window in Rev does not.

Re: Revolution software to black listed nations

2006-04-09 Thread James Spencer
On Apr 8, 2006, at 8:53 PM, Sivakatirswami wrote: Has anyone studied out carefully the issue of shipping Rev stacks to countries on the US state department embargo list? These being currently (found in many typical EULA's) Cuba, Iran, Iraq, Libya, North Korea, Sudan, Syria, military or

Re: Can't pass array function result as parameter

2006-04-02 Thread James Spencer
On Apr 2, 2006, at 12:33 AM, Jerry Daniels wrote: In Constellation's var watcher I fastidiously check each temp var and global to see if they have keys...if they do, then they are shown as arrays with keys, etc. I neglected to do this with params! I'll get this fixed tomorrow and put the

Re: Can't pass array function result as parameter

2006-04-01 Thread James Spencer
On Apr 1, 2006, at 3:25 AM, David Burgun wrote: There's really no need to copy it entry by entry, you can just copy the whole array as in: put LibGetArray() into myArray1 put LibAnotherFunction(myArray1) into myArray2 --Here you could put it back into Array1 I do this all the time.

Re: Can't pass array function result as parameter

2006-03-31 Thread James Spencer
On Mar 30, 2006, at 10:44 PM, J. Landman Gay wrote: James Spencer wrote: My problem is that while the debugger shows tArray in my mouseUp handler to be valid and shows it to have been correctly modified, when I step into the library code for LibUseDifferentArray, it shows pArray

Re: Can't pass array function result as parameter

2006-03-31 Thread James Spencer
On Mar 31, 2006, at 8:59 PM, J. Landman Gay wrote: If all else fails, you can always declare a local script variable to hold the array and then just use that. No passing of anything required. Or you could try passing the variable by reference (add an @ sign in front of the parameter)

Re: Can't pass array function result as parameter

2006-03-30 Thread James Spencer
On Mar 30, 2006, at 10:00 AM, David Burgun wrote: Hi. Depending on how you have coded it, there will be 2 copies of the array, e.g. if you do this in the library: local sgLibArray function LibGetArray return sgLibArray end LibGetArray function LibChangeArray theArray,theKey,theData

Can't pass array function result as parameter

2006-03-29 Thread James Spencer
Can anyone confirm this problem. I'm getting an array from a function in a library. I modify that array and then pass it to a handler also in the library. The debugger is showing that the modified array is valid and contains what it should but the parameter in the library is shown as

Re: Can a constant be global?

2006-03-27 Thread James Spencer
On Mar 27, 2006, at 11:42 AM, J. Landman Gay wrote: Graham Samuel wrote: Yup, that's what I've always done in the past: I just thought constant declarations might help, Custom properties can act like global constants. This may be true but it strikes me as an expensive means of

Re: Making the move...

2006-03-20 Thread James Spencer
On Mar 20, 2006, at 9:01 PM, Mark Smith wrote: I think the point is that when a variable is passed to a function/ handler 'normally', the data in it is duplicated, and if the data is big, this is not as efficient as passing it by reference - obviously, if you need to change the data in the

Re: switch

2006-03-18 Thread James Spencer
On Mar 18, 2006, at 9:39 PM, John Tregea wrote: Hi, Just a question regarding the form many of you use for naming variables. I see a lot of variable names starting with 't' and wondered what it indicates. I use 'g' as a prefix for my global variables but that is all. John (Ready to

Re: Pass - is it really needed

2006-03-17 Thread James Spencer
On Mar 17, 2006, at 5:30 PM, Sarah Reichelt wrote: I agree. There is a very small list of handlers where I usually have a pass: openStack, preOpenStack, openCard, preOpenCard. Apart from that I almost never use pass, so I would prefer it if Constellation left it out and I added it manually

Re: Transcript and Dot Notation

2006-02-24 Thread James Spencer
On Feb 24, 2006, at 2:02 PM, Dan Shafer wrote: I am an object-oriented programmer by training and disposition. Every single object oriented programming language that I've used (and I have admittedly not used them all) with the single exception of Smalltalk (which I actually think got it right)

Re: System menus

2006-02-20 Thread James Spencer
On Feb 20, 2006, at 9:22 AM, Richard Gaskin wrote: Klaus Major wrote: Buongiorno Paul, Someone knows if the new Rev. 1.7 give some new chance to create a system menu on Mac Os X (the menus visible by all applications, as MenuCalendarClock, MenuMeters, iKey, etc.)? sorry, I'm afraid that

Re: System menus

2006-02-20 Thread James Spencer
On Feb 20, 2006, at 10:10 AM, Richard Gaskin wrote: As already said, Rev does not provide such facilities so this is getting off-topic but the info here is not really correct. While it is true that there is no Apple sanctioned API for specifically Menu Bar Extras as referred to in the HIG

Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread James Spencer
On Feb 19, 2006, at 10:10 AM, Glenn E. Fisher wrote: As a historical note, (I'm a very old programmer since 1962) back when I was writing compilers and emulators in B and C in the line editing mode ;-), the switch case statements were really needed. In these kinds of programs many many

Re: 2.7 Consensus

2006-02-19 Thread James Spencer
On Feb 19, 2006, at 11:13 AM, Mark Wieder wrote: Scott- Saturday, February 18, 2006, 9:05:32 PM, you wrote: As one of the folks who has gone back to 2.6.1, I'd say there's no problem with using 2.7. The things that bother me about the new release revolve around the inability to use the

Re: Minimum Mac specs for Rev 2.6.1?

2006-02-12 Thread James Spencer
On Feb 12, 2006, at 5:00 AM, Ken Apthorpe wrote: However, it would resolve one uncertainty for me if someone could say whether I have enough RAM to run it (and Finder). Previously: Mac is a G4 400 with 448MB RAM, OS 10.3.8 Jacque has been directly trying to assist in your problems but

Re: How return an error ?

2006-02-11 Thread James Spencer
On Feb 11, 2006, at 12:32 PM, Girard Damien wrote: I am making some useful library for my softwares, and I have got one problem. How I return an error ? Because when I use return, this doesn't work very great. on hellotest theNumber if isnumber(theNumber) is false then return error

Re: Discontinued Software, The Law, Morals and Hypercard

2006-01-22 Thread James Spencer
On Jan 22, 2006, at 4:19 AM, Mathewson wrote: Recently I had an interesting correspondence with a lawyer in the US stimulated by my earlier posting re Apple and Hypercard. The reasons behind my previous posting were: ... sincerely, Richmond Mathewson This is off-topic and massively

Re: Bundle Identifier

2006-01-14 Thread James Spencer
I suspect that the tooltip is not only not terribly helpful but is also a typo and should be CFBundleIdentifier which is used by the preferences system. From Apple's documentation: This key specifies a unique identifier string for the bundle. This identifier should be in the form of a

Re: show vs visible

2005-12-04 Thread James Spencer
On Dec 4, 2005, at 8:35 AM, Marty Billingsley wrote: Just asking if Transcript, which has been made English-like in the first instance (the setting of the property by using the verb hide) can be extended to be English-like in the second instance (accessing the state of the property by using

Re: tmalign in gadgetbar

2005-11-13 Thread James Spencer
On Nov 13, 2005, at 11:22 AM, Bob Hartley wrote: Hi All. i have tmalign in the gadgets folder but refreshing the gadgetbar to the gadgets folder does not show tmal;igh in the gadgetbar grouping. Anyone know the problem. I'm on winXP Because you are on winXP, there may be something else

Re: Constellation's Great, But the Rev IDE Doesn't Suck

2005-10-17 Thread James Spencer
On Oct 17, 2005, at 8:11 PM, [EMAIL PROTECTED] wrote: Dan, I, for one, think you are being way too kind to the Rev IDE. The debugger opens at random sizes. Buttons and bits of buttons float around the script editor. Opening the Variable Watcher opens the Object Inspector (on top of the

Re: another beginning SQL/Rev question

2005-10-09 Thread James Spencer
On Oct 9, 2005, at 1:26 PM, Charles Hartman wrote: Something I don't understand about the revExecuteSQL command. I open my MySQL database and get an id. Now, to make later steps more general purposes, I'd like to ask the database for the structure of one of its tables (number of columns,

Re: CS Notification Center

2005-09-20 Thread James Spencer
On Sep 20, 2005, at 1:32 AM, Paul Claude wrote: Anyone have idea about how to use the Apple's CSNotificationCenter ( http://developer.apple.com/documentation/CoreFoundation/Reference/ CFNotifica tionCenterRef/index.html) to read informations of other applications from a Revolution stack?

Re: Bad Idea To Disable an 'Edit' Menu

2005-08-20 Thread James Spencer
On Aug 20, 2005, at 1:16 AM, MisterX wrote: Hi Ken This seems more like an OS behavior than a Rev problem doesn't it? It sure should be made aware for those developping on PCs hoping to deploy on osx... ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: Bad Idea To Disable an 'Edit' Menu

2005-08-20 Thread James Spencer
On Aug 20, 2005, at 2:18 PM, Richard Gaskin wrote: Ken Ray wrote: Well, actually it's not as common to do that in Windows apps as in Mac - they usually don't have Preferences under the Edit menu; they have Options under the Tools menu, or if it does have Preferences, it's not under the

Re: Error description: recursionLimit: Recursion limit reached

2005-08-07 Thread James Spencer
On Aug 7, 2005, at 4:52 PM, Hershel Fisch wrote: Hi all what is the meaning for this error Error description: recursionLimit: Recursion limit reached Thans, Hershel ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this

Re: SCRIPTS IN GROUPS

2005-08-06 Thread James Spencer
On Aug 6, 2005, at 11:56 AM, Dan Shafer wrote: While I'm not sure this can be characterized as a bug, I'd call it a surprising feature. And it has a particularly intriguing problem if you have multiple background groups. In that case, the background groups live in layers, of course, each

Re: a few geometry questions...

2005-08-06 Thread James Spencer
On Aug 6, 2005, at 8:53 PM, TJ Frame wrote: Hi everyone, 1) If I have the points A and B, how would I determine point C that lies along the slope but is X units in length from the origin (which will always be point A) I can find the total distance between A and B or the midpoint using

Re: global problems

2005-08-02 Thread James Spencer
On Aug 2, 2005, at 6:13 PM, Richard Gaskin wrote: In any language I've worked with, you declare a global and it stays in memory until you delete it or quit the program. I don't know of any language that deletes globals automatically based on whether the app closes or opens files from

Re: [ANN] Scripter's Scrapbook 5.02 upgrade

2005-07-28 Thread James Spencer
On Jul 28, 2005, at 6:32 AM, [EMAIL PROTECTED] wrote: - Existing Users should update from the Help menu. The update will be located in a 'new version' folder for you. (Version 5 Users will find that all their existing Entries, settings, preferences and personal plugins will be

Re: Rev 2.6 docs slow?

2005-06-06 Thread James Spencer
Yea, I think there's something wrong here. Expanding topic's is similarly slow. I thought we had the documentation problems licked. Spence James P. Spencer Rochester, MN [EMAIL PROTECTED] Badges?? We don't need no stinkin badges! On Jun 6, 2005, at 9:24 PM, Michael J. Lew wrote: I've

Re: To Rev or not to Rev

2005-05-02 Thread James Spencer
On May 2, 2005, at 9:28 AM, Geoff Canyon wrote: Setting those aside, Rev lacks several characteristics most people consider inherent to OO. That doesn't make it bad or good, necessarily. When this thread started, my reaction was because of these missing characteristics, I would have said

Re: To Rev or not to Rev

2005-04-30 Thread James Spencer
On Apr 30, 2005, at 1:50 PM, Dan Shafer wrote: But that's moot. Nobody's going to do either. Java is good for some things for which Rev is not suited (mostly apps requiring lots of interaction with system-level resources and multi-programmer projects) and Rev is good for some things for

Re: [ANN] Reminder - online scripting conferences

2005-04-29 Thread James Spencer
On Apr 29, 2005, at 8:47 PM, J. Landman Gay wrote: On 4/29/05 5:49 PM, Alex Tweedly wrote: J. Landman Gay wrote: We're on Daylight Savings Time right now, so everything shifted one hour. EST right now is -4. This fall, it will be -5 again. At least, I think so, because I'm in Central time

Re: mouseDown/mouseUp problem

2005-03-16 Thread James Spencer
On Mar 16, 2005, at 12:40 PM, J. Landman Gay wrote: On 3/15/05 9:16 PM, James Spencer wrote: I've got a button which, when it is pressed and held, I want to do some things (brief and repetitive) and then do some other things once it is released. I've got handlers in the button script

mouseDown/mouseUp problem

2005-03-15 Thread James Spencer
I've got a button which, when it is pressed and held, I want to do some things (brief and repetitive) and then do some other things once it is released. I've got handlers in the button script: on mouseDown repeat while the mouse is down -- do stuff repeatedly while

Re: Standard Images

2004-11-21 Thread James Spencer
On Nov 20, 2004, at 11:15 PM, J. Landman Gay wrote: On 11/20/04 3:12 PM, James Spencer wrote: OK, one last stupid question and I'll have this thing beat. My button icons are all working fine but what aren't are icons for the answer dialogs: generally I've called for answer question My prompt

Re: Standard Images

2004-11-21 Thread James Spencer
On Nov 21, 2004, at 1:15 PM, Judy Perry wrote: All the docs and learning materials are a huge improvement. Perhaps it is the sheer complexity of the language that makes one feel as if a mindreader's services are necessary. I disagree; I regularly write applications with Cocoa using Objective C

Re: Standard Images

2004-11-21 Thread James Spencer
On Nov 21, 2004, at 12:16 PM, J. Landman Gay wrote: As you guessed, it appears that the standard RR icons are not copied over. Interestingly, I haven't been able to get them to copy over even if I make a button that uses one of them as the icon (I was going to just use standard RR icons for

Standard images

2004-11-20 Thread James Spencer
I know this question has been asked but in going through the archives, the only solution I've seen was very general and I didn't really understand the details. I've got an old project that I've been working on short of on-and-off since Rev 2.0 or so. I made the mistake of using Rev's

Re: Standard images

2004-11-20 Thread James Spencer
On Nov 20, 2004, at 11:15 AM, J. Landman Gay wrote: On 11/20/04 10:22 AM, James Spencer wrote: I know this question has been asked but in going through the archives, the only solution I've seen was very general and I didn't really understand the details. I've got an old project that I've been

Re: Standard Images

2004-11-20 Thread James Spencer
On Nov 20, 2004, at 11:15 AM, J. Landman Gay wrote: On 11/20/04 10:22 AM, James Spencer wrote: I know this question has been asked but in going through the archives, the only solution I've seen was very general and I didn't really understand the details. I've got an old project that I've been

Menus

2004-11-19 Thread James Spencer
Menus are just plain driving me nuts and I'm hoping someone can at least explain this behavior with the goal that maybe I can understand what is happening for future reference. The particular project at hand uses four stacks, one of which is really nothing more than a splash screen although it

Re: More 2.5 weirdness

2004-09-27 Thread James Spencer
On Sep 27, 2004, at 5:18 PM, J. Landman Gay wrote: On 9/27/04 4:39 PM, Howard Bornstein wrote: Boy, V2.5 is now starting to act very squirly. I get into a situation where combo and popup buttons will no longer pop open. Not only the buttons on my stack, but also the buttons on the property

Re: Copying Menus

2004-09-07 Thread James Spencer
On Sep 6, 2004, at 10:41 PM, Sarah Reichelt wrote: I suggest making a separate sub-stack and MOVING your original menu group to it, where it can be set to non-Mac style for easy editing. If you call it Menu1, then in your main stack's preOpenStack handler, you can say: set the menuBar of this

Re: Project Builder Question (External Related)

2004-09-06 Thread James Spencer
On Sep 5, 2004, at 12:38 PM, K wrote: I am sorry for my Project Builder ignorance I am used to using Code Warrior (*NIX development) and Visual Studio (Win32 Development). I seems to be experiencing linking problems with the stanard C/C++ library. Simple example: NOTE: This is a C version I

Copying Menus

2004-09-06 Thread James Spencer
It strikes me that this should be easy but I'm a dolt and can't figure it out. Nor can I find anything in the documentation (one more voice in the wilderness: the documentation is great for looking up specific Transcript elements but stinks for figuring out how to use the development

Re: Programming contest [Rev Physics masters]

2004-05-01 Thread James Spencer
On May 1, 2004, at 1:09 AM, Dar Scott wrote: On Friday, April 30, 2004, at 10:23 PM, David Kwinter wrote: So who's our physics master? I have experience backtesting optimizing systems once I've programmed them - but defining the environment following their specs looks extremely challenging.

Re: Saving substacks in stand alones

2004-03-14 Thread James Spencer
On Mar 13, 2004, at 10:31 PM, J. Landman Gay wrote: On 3/13/04 2:40 PM, James Spencer wrote: What I don't get and hope that some kind soul will tell me is: a) Considering that the data stack is not a substack of the main stack but rather is a completely separate entity in its own file, why

Re: Upgrade version and pricing [was] Re: Fix it before moving ahead

2004-03-14 Thread James Spencer
On Mar 14, 2004, at 4:02 PM, Brian Yennie wrote: I'm cringing at jumping into this thread, because I DO NOT think RunRev has exactly been guilty of poor support or response to bugs. HOWEVER, I can't quite agree with the Office OR OS comparisons. Both are consumer products, not developer

Saving substacks in stand alones

2004-03-13 Thread James Spencer
Newbie question just so I can understand what is happening. I'm not understanding how message passing works or how this works in the context of substacks. I've got some old stuff I'm converting to Rev. standalones to run under OS X and I've been wandering through the example Employee Data

Re: [OT] Core dump on OS X?

2003-12-08 Thread James Spencer
On Dec 5, 2003, at 11:57 PM, Richard Gaskin wrote: I could use a core dump on OS X, but I can't figure out how to generate one. Here's what I've been doing: 1. In the terminal: limit coredumpsize unlimited (compensates for OS X's default value of 0) 2. Launch my app 3. In terminal: kill

Re: [OT] Core dump on OS X?

2003-12-06 Thread James Spencer
On Dec 5, 2003, at 11:57 PM, Richard Gaskin wrote: I could use a core dump on OS X, but I can't figure out how to generate one. Here's what I've been doing: 1. In the terminal: limit coredumpsize unlimited (compensates for OS X's default value of 0) 2. Launch my app 3. In terminal: kill

Newby questions

2003-09-01 Thread James Spencer
1) Is there any convenient way to search the archives of this list other than downloading the entire mess and doing a text search? 2) What I was really looking for: is Menu Builder a one-time only tool. I.e. can you use Menu Builder to edit a menu bar that you have previously created or once

Re: Newby questions

2003-09-01 Thread James Spencer
On Monday, September 1, 2003, at 09:09 AM, Jan Schenkel wrote: 1) Yes, and you have two options : - either via an advanced Google search http://www.google.com/advanced_search?q=site:lists.runrev.com - or via this search page, courtesy of Mindlube http://mindlube.com/cgi-bin/search-use-rev.cgi 2)