Re: Scroll multiple fields together

2007-01-19 Thread André.Bisseret
Le 19 janv. 07 à 00:18, Sarah Reichelt a écrit : On 1/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Everyone, Is there an easy way to keep multiple scrolling fields in alignment when they are scrolled? In each field, put a scrollBarDrag handler as follows: on scrollBarDrag

Re: Scroll multiple fields together

2007-01-19 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote: Is there an easy way to keep multiple scrolling fields in alignment when they are scrolled? You *might* get better performance (ie keeping the fields in sync) by placing non-scrolling fields in a group and scrolling the group, rather than using multiple

write to and read from a hardware address directly, possible?

2007-01-19 Thread [EMAIL PROTECTED]
Hello, Is it possible to write to a hardware address directly from runrev? Did not find any command for this task in the docu. 0xA000 FF 8 bit to the address A000. Can I set or get the value with native commands in runrev? Mit freundlichen Grüßen Franz Böhmisch [EMAIL PROTECTED]

Re: small lesson in using database wanted

2007-01-19 Thread Luis
Hiya, If you want to learn whilst having fun, try GalaxQL: http://sol.gfxile.net/galaxql.html Cheers, Luis. Brent Anderson wrote: Hello. Although there are many database functions provided with Revolution, I prefer opening a connection and making SQL calls using revDataFromQuery. A

Re: Locking flds of group to scroll

2007-01-19 Thread Klaus Major
Hi Sarah and Herschel, Hi, Is it possible to lock the scroll of flds of a group to scroll e.g. The scrolls are not checked but if the lines are more then the fld shows then the fld scrolls even without the bar, therefore id like to know if and how there is a possibility to lock that

Physical Screen Size

2007-01-19 Thread Tim Ponn
Hello! I'm working on a project and I would like to get the physical screen size of the system. Is there a way to do this? I see how to get many of the screen attributes...but as to physical siza...nadda. A cheesy way to do this, I suppose, would be to display an object when the app is

Re: Physical Screen Size

2007-01-19 Thread Mark Schonewille
Hi Tim, Normally, people set the screen resolution to a higher number because they want more to fit on their screen. They would be surprised to see that your application doesn't show more on screen despite a higher resolution, if you manage to do this. I don't think that the actual

calling a remote function..

2007-01-19 Thread Chipp Walters
Trying to call function 'foo(param1,param2)' in button bar from somewhere outside the message path. So, I do this: put 1,000 into param1 put Soldiers into param2 get value(foo(param1,param2),btn bar) Sadly, the literals param1 and param2 are passed to foo instead of the variables. I've tried

Re: calling a remote function..

2007-01-19 Thread Mark Smith
Chipp, this seems to work for me: answer value(foo( param1 comma param2 ),btn bar) Though you seem to have answer in both button scripts... Best, Mark On 19 Jan 2007, at 12:55, Chipp Walters wrote: Trying to call function 'foo(param1,param2)' in button bar from somewhere outside the

Re: calling a remote function..

2007-01-19 Thread Jim Ault
Try using the Call, as this is supposed to keep the current variable environment even though you are outside the message path. This is from the original HCard navigation so you could travel across hard drives and computers and yet update the original variable space. I have never used this, so

Re: calling a remote function..

2007-01-19 Thread Chipp Walters
Mark, That's close, but still no cigar. Because Param1 has a comma in it, it thinks it's two params. IOW, the answer is 1 cr 000. The soldiers is left behind :-( Any other ideas? -Chipp On 1/19/07, Mark Smith [EMAIL PROTECTED] wrote: Chipp, this seems to work for me: answer value(foo(

Re: calling a remote function..

2007-01-19 Thread Chipp Walters
Hi Jim, Call is supposed to used with handlers, not functions. Fooey ;-) On 1/19/07, Jim Ault [EMAIL PROTECTED] wrote: Try using the Call, as this is supposed to keep the current variable environment even though you are outside the message path. This is from the original HCard navigation so

Re: calling a remote function..

2007-01-19 Thread Mark Smith
Ah, I see. How about: answer value(foo( quote p1 quote comma p2 ),btn bar) admittedly, this is going to be unwieldy if all your params might contain quotes, so then perhaps you need to use Ken Rays q function: answer value(foo( q(p1) comma q(p2) ), btn bar) Best, Mark On 19 Jan

Re: Physical Screen Size

2007-01-19 Thread Ian Wood
If you *have* to have the physical dimensions, remember that some of the odder screen resolution settings don't have the same vertical and horizontal pixels per inch, so the user will need to measure in both directions. Rather than asking the user to measure an object (and enter the

Re: calling a remote function..

2007-01-19 Thread Scott Rossi
Recently, Chipp Walters wrote: TRY YOURSELF Create a new stack: create button bar with script: function foo param1,param2 answer param1 cr param2 end foo Create another button PressMe on mouseUp put 1,000 into param1 put soldiers into param2 answer

Re: calling a remote function..

2007-01-19 Thread Jim Ault
perhaps urlEncode.. decode put urlEncode(1,000) into param1 -- %2C for comma Jim Ault Las Vegas On 1/19/07 4:55 AM, Chipp Walters [EMAIL PROTECTED] wrote: Trying to call function 'foo(param1,param2)' in button bar from somewhere outside the message path. So, I do this: put 1,000

Re: calling a remote function..

2007-01-19 Thread Ian Wood
Something like that. I've got into the habit of replacing commas with *comma* in the parameters and then replacing it again with a comma within the function. Ian On 19 Jan 2007, at 15:21, Jim Ault wrote: perhaps urlEncode.. decode put urlEncode(1,000) into param1 -- %2C for comma Jim

Re: Physical Screen Size

2007-01-19 Thread Tim Ponn
Mark, I understand why folks set their screen res the way they do...I know someone who always sets it at the highest possible...never mind that it's nearly impossible to see the icons on their desktop without magnification! ;=) Here's my application and why it's important to me... We

Beta Testing for JPEGCompress 2.8

2007-01-19 Thread Derek Bump
Hello folks, I was just wondering if anyone was interested in beta testing JPEGCompress 2.8? Email me offlist if you're interested. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ ___ use-revolution mailing list

Re: Physical Screen Size

2007-01-19 Thread Mark Schonewille
Hi TIm, Of course, you could make a few presets for the most common resolutions, but you won't be able to create presets for all current and future resolutions. Instead, I'd make a simple interface to adjust the size of the working space on screen. I don't think that people will mind

Re: calling a remote function..

2007-01-19 Thread Andre Garzia
Chipp, I use stuff like that all the time in the RevHTTP server for running the functions on cgis. But I don't usually use functions, I use handlers that like function return values. I assemble a line with a send call in a string and I execute that string using DO. then I check for the

Re: calling a remote function..

2007-01-19 Thread Chipp Walters
Ding ding. You win the prize. answer value(foo( q(param1) comma q(param2) ), btn bar) works. I had tried something similar: answer value(foo( q(param1) , q(param2) ), btn bar) but couldn't get it to compile. I'm just used to the compiler not having to be explicitly told to concatenate

Re: Physical Screen Size

2007-01-19 Thread Luis
Hiya, If you can determine the monitor type you could probe a database of configurations/resolution/dpi settings etc and then calculate the image size (using its coordinates) based on this information. I haven't looked into this but I reckon OSX and WXP have these in the system somewhere (so

many thanks for everyone's help on find

2007-01-19 Thread Peter Alcibiades
Many thanks, very helpful comments, and thanks especially for pointing out some of the pitfalls. Peter ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: write to and read from a hardware address directly, possible?

2007-01-19 Thread Stephen Barncard
You are looking for a PEEK or POKE type command in Rev. ummm... I don't think it's advisable to do that directly anymore, certainly on macs. Most resources on modern hardware are managed. Hello, Is it possible to write to a hardware address directly from runrev? Did not find any command

Re: Physical Screen Size

2007-01-19 Thread Mark Schonewille
Hi Luis, Yup, my main monitor is of the brand unknown. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 19-jan-2007, om

Re: calling a remote function..

2007-01-19 Thread Ken Ray
On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: Ding ding. You win the prize. answer value(foo( q(param1) comma q(param2) ), btn bar) Boy, I long for the simplicity that SuperCard uses to do this kind of thing. They have a via keyword that lets you point to the object who

Re: Physical Screen Size

2007-01-19 Thread Luis
Hmmm, ok. What you could then do is open a dialogue box asking for dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or Plasma) and dpi. If the dpi is unknown by the user you could try to default to the most common dpi for that 'type' of monitor. Cheers, Luis. Mark Schonewille

altBrowser + windowshape

2007-01-19 Thread Bill Marriott
Hello everyone, I was wondering if anyone's had any luck getting an embedded web browser to work when the stack containing it has a WindowShape? Seems when I activate the window shape, the browser control refuses to appear. If it's impossible to get the windowshape thingy to work, does anyone

Re: calling a remote function..

2007-01-19 Thread Andre Garzia
show me a bugzilla enhancement request for this and I'll throw all my five votes in it, and buy a beer for everyone that does the same. This would make my life so much easier... andre On Jan 19, 2007, at 2:50 PM, Ken Ray wrote: On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: Ding

Re: calling a remote function..

2007-01-19 Thread J. Landman Gay
Ken Ray wrote: On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: Ding ding. You win the prize. answer value(foo( q(param1) comma q(param2) ), btn bar) Boy, I long for the simplicity that SuperCard uses to do this kind of thing. They have a via keyword that lets you point to the

Re: calling a remote function..

2007-01-19 Thread Mark Smith
This is so simple and obvious that only a true genius would a have thought of it! I don't even accept that it's a hack. Thanks for this, Jacque, I honestly wonder how I get my head so far up my , sometimes. :) Best, Mark On 19 Jan 2007, at 17:58, J. Landman Gay wrote: The cheap

Re: calling a remote function..

2007-01-19 Thread FlexibleLearning
Ken Ray wrote: On Fri, 19 Jan 2007 09:50:31 -0600, Chipp Walters wrote: Ding ding. You win the prize. answer value(foo( q(param1) comma q(param2) ), btn bar) Boy, I long for the simplicity that SuperCard uses to do this kind of thing. They have a via keyword that lets you point

need to manually package zip libraries with standalone?

2007-01-19 Thread Josh Mellicker
Extracting a file from a zip archive works perfectly in the dev environment, but the standalone doesn't work. Do I need to package the zip library with the standalone manually? I couldn't find any doc on this. Thanks! ___ use-revolution mailing

Re: calling a remote function..

2007-01-19 Thread Chipp Walters
Hugh, You certainly make a good point. I'm actually trying to keep the functions in the field where they originally are used. I only need call them occasionally, but the fact it's so difficult has got me thinking of re-architecting the group entirely. It's a spreadsheet object which will get a

Re: calling a remote function..

2007-01-19 Thread Dick Kriesel
On 1/19/07 7:50 AM, Chipp Walters [EMAIL PROTECTED] wrote: Ding ding. You win the prize. answer value(foo( q(param1) comma q(param2) ), btn bar) But note that if a param contains more than one line, the value function does not return the expected result. Ding dong. Try this script for

Re: calling a remote function..

2007-01-19 Thread Richard Gaskin
Dick Kriesel wrote: On 1/19/07 7:50 AM, Chipp Walters chipp at chipp.com wrote: Ding ding. You win the prize. answer value(foo( q(param1) comma q(param2) ), btn bar) But note that if a param contains more than one line, the value function does not return the expected result. Ding dong.

Open and Closing MySQL

2007-01-19 Thread Jim Schaubeck
Folks, Is it good practice to close a connection to a database right after you use it (MySQL)? I don't have a problem writing the SQL every time, I just want to make sure it doesn't hurt anything if I did it that way. Also, is there any more documentation somewhere on the rev commands for SQL?

Re: altBrowser + windowshape

2007-01-19 Thread Wilhelm Sanke
On Fri Jan 19, Bill Marriott wjm at wjm.org wrote: If it's impossible to get the windowshape thingy to work, does anyone has a nice handler to keep a substack (with decorations set to none) to follow along with another substack? (the one with my windowshape) What about on movestack put the

Re: need to manually package zip libraries with standalone?

2007-01-19 Thread Klaus Major
Hi Josh, Extracting a file from a zip archive works perfectly in the dev environment, but the standalone doesn't work. Do I need to package the zip library with the standalone manually? I couldn't find any doc on this. Yes, this is a long known bug on the Mac, some (or all) externals do

Re: altBrowser + windowshape

2007-01-19 Thread Scott Rossi
Recently, Wilhelm Sanke wrote: does anyone has a nice handler to keep a substack (with decorations set to none) to follow along with another substack? (the one with my windowshape) You'll probably need to use a custom drag routine. You can see the following stack for an example (execute in

Re: need to manually package zip libraries with standalone?

2007-01-19 Thread Josh Mellicker
Ah, found it! (Under Select Inclusions) Thanks! On Jan 19, 2007, at 2:11 PM, Klaus Major wrote: Hi Josh, Extracting a file from a zip archive works perfectly in the dev environment, but the standalone doesn't work. Do I need to package the zip library with the standalone manually? I

Re: calling a remote function..

2007-01-19 Thread Chipp Walters
Richard and Dick, Good points both of you. In fact I think Jacque has perhaps the most elegant solution. Ding ding. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: altBrowser + windowshape

2007-01-19 Thread Chipp Walters
Yep, I still mostly use Scott's window drag routine. I think it's been around for...going on 40 years now. How old is Scott anyway? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Altplug-ins demo stacks...

2007-01-19 Thread Andrew Meit
I have found bugs using the altfont demo 1. installing the plug-in: Unzip problem: ditto: Couldn't read PKZip signature 3. running the demo after I installed manually the altfont bundle in externals, I ran demo. It crashed. Any help would be valued now.. :-) Shalom, Andrew {Choose Life,

A Single SetProp?

2007-01-19 Thread Scott Rossi
Howdy List: I'm just now coming to grips to with the SetProp control structure and was wondering if there is a way to trigger a single SetProp structure (that contains a switch statement) when setting *any* custom property, or do you have to use a separate SetProp structure for *each property*

Re: A Single SetProp?

2007-01-19 Thread Ken Ray
On Fri, 19 Jan 2007 17:16:58 -0800, Scott Rossi wrote: I'm just now coming to grips to with the SetProp control structure and was wondering if there is a way to trigger a single SetProp structure (that contains a switch statement) when setting *any* custom property, or do you have to use a

Re: altBrowser + windowshape

2007-01-19 Thread Scott Rossi
Recently, Chipp Walters wrote: How old is Scott anyway? Younger than you. But nowhere near as talented in the 3D modeling arena. Dang (Texas expression) you do some amazing stuff, man. I don't know how you find the time to do your Rev projects *and* your jaw dropping 3D creations. Best

Re: A Single SetProp?

2007-01-19 Thread Tereza Snyder
On Jan 19, 2007, at 7:16 PM, Scott Rossi wrote: Howdy List: I'm just now coming to grips to with the SetProp control structure and was wondering if there is a way to trigger a single SetProp structure (that contains a switch statement) when setting *any* custom property, or do you have

AltFont External On Intel Mac

2007-01-19 Thread Bridger Maxwell
Hey, I was trying to work with the AltFont external, but I couldn't get it to load as an external, while I was successful with the other externals. I looked at the AltFont bundle, and discovered it was PPC. I have been able to get it to work by forcing Revolution to run under Rosetta, but that

Re: Altplug-ins demo stacks...

2007-01-19 Thread Bridger Maxwell
It is a problem in the initme handler. Change line 2 (the non commented one) to to read: put http://downloads.runrev.com/alt_externals/altFont.zip into lMacExternalUrl They accidentally spelled Mac with an x when updating the code to reflect the new download site. Once that is fixed you will

Re: A Single SetProp?

2007-01-19 Thread Dick Kriesel
On 1/19/07 5:16 PM, Scott Rossi [EMAIL PROTECTED] wrote: snip wondering if there is a way to trigger a single SetProp structure (that contains a switch statement) when setting *any* custom property, or do you have to use a separate SetProp structure for *each property* you want to monitor.

Re: altBrowser + windowshape

2007-01-19 Thread Chipp Walters
Hey, I may be old but I'm not dead yet! Your glowing words wax a premature eulogy. I've still got a few good years left ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your