Re: How to master one table field' limits

2006-11-27 Thread Eric Chatonet
Bonjour André, Le 26 nov. 06 à 17:42, André.Bisseret a écrit : I got another problem with my table fields : I am trying to master the table limits in them. I set xLimit (2) and yLimit (10) and tried to use the rawKeyDown handler from your tutorial. Seems it does not work for me : I mean, t

Re-2: USB/Serial issue (FTDI EasySync)

2006-11-27 Thread [EMAIL PROTECTED]
Hello, I am writing a program in runrev communicating with an acoustic analyser via RS232 (functions properly) and now work in communicating to a USB relais for regulating the dc in the object we make the measurement on. After reading this message and the docu I am not sure: Can I use USB univer

Re: How to master one table field' limits

2006-11-27 Thread André.Bisseret
Le 27 nov. 06 à 09:38, Eric Chatonet a écrit : Bonjour André, Le 26 nov. 06 à 17:42, André.Bisseret a écrit : I got another problem with my table fields : I am trying to master the table limits in them. I set xLimit (2) and yLimit (10) and tried to use the rawKeyDown handler from your tut

MySQL

2006-11-27 Thread Mark Schonewille
Hello database gurus, I have created a stack which communicates with a MySQL server on a different machine. I can make a connection, select the database and tables and enter and retreive data. Now, I want my client application to find out which databases are available, which tables have bee

lookAndFeel

2006-11-27 Thread Shari
Is it possible to set the lookAndFeel of a single object to something different than the preference setting? In other words, if you wanted a stack to have the lookAndFeel of the native OS, but one button to have the lookAndFeel to "Motif", can it be done? set the lookAndFeel of btn "testButt

Re: [ANN] Galaxy 1.5 Birthday Special

2006-11-27 Thread Jerry Daniels
On Nov 26, 2006, at 2:39 PM, Mikey wrote: In Jerry's covert and evil subversive mesage there might be a hint that might lead you on a terrible quest. If you avoid tragedy you may find a link that might just through some dark-side-of-the-force take you to a place with cryptic symbols. If you b

Re: MySQL

2006-11-27 Thread Chris Sheffield
Hi Mark, This is probably more of a MySQL thing than a Rev thing. I would recommend reading through the MySQL documentation if you haven't already, and check out the commands for working with databases and their tables. If I'm not mistaken, you should be able to use any MySQL command by r

set the stackFileVersion

2006-11-27 Thread Scott Morrow
What is the preferred method for saying: set the stackFileVersion to "2.4" so that it doesn't cause an error in engine versions before 2.7 ? -- Scott Morrow ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subsc

Re: set the stackFileVersion

2006-11-27 Thread Klaus Major
Hi Scott, What is the preferred method for saying: set the stackFileVersion to "2.4" so that it doesn't cause an error in engine versions before 2.7 ? Try this, which will check the engine's version before setting the stackfileversion: ... if the char 1 to 3 of the version >= 2.7 then

Re: MySQL

2006-11-27 Thread Mark Schonewille
Hi Chris, Sure, I have read the documentation. Once a database has been created, I can modify it. That's not the problem. I would like to do something like this (in a button): on mouseUp revExecuteSQL 1,"SHOW DATABASES;" put the result end mouseUp and would like to get a list of databa

Re: set the stackFileVersion

2006-11-27 Thread Mark Schonewille
Klaus, Your solution will still cause a compile error when the stack is opened or the script applied. Instead, do this: do "set the stackFileVersion to" && quote & "2.4" & quote Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.b

Re: Copying many cds to a stack causes standalone to hang

2006-11-27 Thread simplsol
Steve, I don't know if this has been mentioned: Rev opens, manipulates, and saves stacks with a lot of cards slowly. We were updating one large stack that seemed to hang each time. It was a stack imported from HyperCard where the same update took about half an hour. The update consisted of pulli

Re: MySQL

2006-11-27 Thread Trevor DeVore
On Nov 27, 2006, at 8:12 AM, Mark Schonewille wrote: Hi Chris, Sure, I have read the documentation. Once a database has been created, I can modify it. That's not the problem. I would like to do something like this (in a button): on mouseUp revExecuteSQL 1,"SHOW DATABASES;" put the res

Re: MySQL

2006-11-27 Thread John Craig
Hi, Mark. I've used the following to get a list of MySQL tables; put revDataFromQuery(tab, return, lDB, "show databases") into tResult and the following to list tables in a database; put revDataFromQuery(tab, return, lDB, "show tables from mysql") into tResult ('mysql' being the database na

Re: MySQL

2006-11-27 Thread Stephen Barncard
I just executed this sql command "SHOW DATABASES;" on my project from rev and it works fine. However I use Trevor Devore's SQL abstraction library, which makes it far easier to make sense of the lower level rev SQL calls. I know he's working on an exciting new project using 'Database Objects'

Re: lookAndFeel

2006-11-27 Thread Ken Ray
On 11/27/06 8:23 AM, "Shari" <[EMAIL PROTECTED]> wrote: > Is it possible to set the lookAndFeel of a single object to something > different than the preference setting? > > In other words, if you wanted a stack to have the lookAndFeel of the > native OS, but one button to have the lookAndFeel to

Re: MySQL

2006-11-27 Thread Mark Schonewille
Getting records is not the problem. I want to find out which databases and tables are available. Should I use revQueryDatabase for that? Can you give an example? -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line wit

Re: MySQL

2006-11-27 Thread Trevor DeVore
On Nov 27, 2006, at 8:54 AM, Mark Schonewille wrote: Getting records is not the problem. I want to find out which databases and tables are available. Should I use revQueryDatabase for that? Can you give an example? Though you aren't actually fetching records with a SELECT query, you are f

Re: MySQL

2006-11-27 Thread Mark Schonewille
Thanks Chris, That works. I think it would be useful to have such an example in the Rev docs. Best, 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

Re: set the stackFileVersion

2006-11-27 Thread Klaus Major
Hi Mark, Klaus, Your solution will still cause a compile error when the stack is opened or the script applied. Instead, do this: do "set the stackFileVersion to" && quote & "2.4" & quote maybe I'm a bit slow, but why should this cause an error? :-) I thought the "if...then" would prevent t

Re: java open source!!! [OT]

2006-11-27 Thread Mark Wieder
Jan- Sunday, November 26, 2006, 12:21:45 PM, you wrote: > than ever. In spite of projects like Eclipse and > NetBeans, there's still no IDE that makes it as easy > to develop applications with a rich UI the way Visual > Studio can. True, but have you seen the Jvider plugin for Eclipse? http://

Re: MatchWithin

2006-11-27 Thread Mark Wieder
John- Sunday, November 26, 2006, 12:51:24 PM, you wrote: > There are some extra parenthesis - a more concise version is; > FUNCTION MatchWithin pRawText, pStartText, pEndText > if matchText(pRawText, "(?Uis)" & pStartText & "(.+)" & pEndText, > tReturn) then return tReturn > END MatchWithin

Re: MatchWithin

2006-11-27 Thread Mark Wieder
Jim- > Depending on the source, for most HTML pages an extraction function should > look for unmatched tags and tags that appear between comment tags (thus not > part of the visible page) > Unmatched tags can be detected by: > [1] if the start tag is in any of the extracted segments > [2] if th

Re: set the stackFileVersion

2006-11-27 Thread Mark Schonewille
Hi Klaus, You're right about the execution error being prevented, but the problem is that a script cannot be compiled if it contains unknown properties. Try to compile this: "set the bla to x" and you'll see what I mean. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering

Re: set the stackFileVersion

2006-11-27 Thread Klaus Major
Hi Mark, Hi Klaus, You're right about the execution error being prevented, but the problem is that a script cannot be compiled if it contains unknown properties. Aha! Thanks for the explanation. Try to compile this: "set the bla to x" and you'll see what I mean. I would never do that!

Re: set the stackFileVersion

2006-11-27 Thread J. Landman Gay
Klaus Major wrote: Hi Mark, Klaus, Your solution will still cause a compile error when the stack is opened or the script applied. Instead, do this: do "set the stackFileVersion to" && quote & "2.4" & quote maybe I'm a bit slow, but why should this cause an error? :-) I thought the "if...th

Re: lookAndFeel

2006-11-27 Thread SimPLsol
Shari, You can change some parameters of a button even while using the look and feel of the native OS. For instance you can change the colors of the fill, text, etc. So, while you cannot set the look and feel of a specific button to another native OS, you may be able to customize the button manu

Re: MatchWithin

2006-11-27 Thread Jim Ault
On 11/27/06 9:43 AM, "Mark Wieder" <[EMAIL PROTECTED]> wrote: >> Depending on the source, for most HTML pages an extraction function should >> look for unmatched tags and tags that appear between comment tags (thus not >> part of the visible page) > >> Unmatched tags can be detected by: > >> [1]

Re: lookAndFeel

2006-11-27 Thread Phil Davis
Hi Shari, If you really *really* need it to be as you describe below, you can always fake it with images. - set the lookAndFeel to Motif - use 'import snapshot' to make images of your target button in all the required states - enabled, disabled, hilited, etc. - set the lookAndFeel back to

"palette" in RevMedia

2006-11-27 Thread Richmond Mathewson
Gosh, I'm thick! Just discovered that the command "palette" doesn't seem to work with RevMedia 2.7.2 - a bit odd considering that it is listed as functional in the documentation. What am I getting wrong ??? sincerely, Richmond Mathewson _

Re: lookAndFeel

2006-11-27 Thread Richard Gaskin
Shari wrote: Is it possible to set the lookAndFeel of a single object to something different than the preference setting? Not really, but keep in mind that the native appearance is only applied to controls which have other properties set to default, at least as far as the "standard" button st

Declaring Variables

2006-11-27 Thread LunchnMeets
Hi, I've seen references to declaring or initializing variables. How and why would I do that? Joe Orlando Florida ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscripti

Re: Declaring Variables

2006-11-27 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote: > Hi, > > I've seen references to declaring or initializing > variables. How and why > would I do that? > > Joe > Hi Joe, Globval and script-local variables need to be declared, or you can't use them as such - the compiler will assume you're working with a tempora

Re: java open source!!! [OT]

2006-11-27 Thread Jan Schenkel
--- Mark Wieder <[EMAIL PROTECTED]> wrote: > Jan- > > Sunday, November 26, 2006, 12:21:45 PM, you wrote: > > > than ever. In spite of projects like Eclipse and > > NetBeans, there's still no IDE that makes it as > easy > > to develop applications with a rich UI the way > Visual > > Studio can.

RE: Copying many cds to a stack causes standalone to hang

2006-11-27 Thread Steve Denney
Hi PL, The app is a catalogue where users can view pics of the products & click on them to order (amongst other things). Currently each product page (card) is kept in a single cd stack file and all the pages are copied into one stack at start up. I've now realized it'll be better to have collectio

Re: Copying many cds to a stack causes standalone to hang

2006-11-27 Thread SimPLsol
Steve, How about having a stack with one card for each brand (that is to say, one of each card that looks different from the rest)? Have this small stack open on startup. Link each card to the database for that brand (or whatever determines unique cards). As the user "opens" each card it is popu

Re: set the stackFileVersion

2006-11-27 Thread Scott Morrow
Thanks all. The explanations were helpful in clarifying. I was using a somewhat more convoluted method. -Scott Morrow On Nov 27, 2006, at 10:12 AM, J. Landman Gay wrote: Klaus Major wrote: Hi Mark, Klaus, Your solution will still cause a compile error when the stack is opened or the s

Re: Declaring Variables

2006-11-27 Thread Dar Scott
(Nice summary on declaring variables, Jan) On Nov 27, 2006, at 2:35 PM, Jan Schenkel wrote: the compiler ... may even decide that the default value of that variable is the same as the name of the variable. Note that the default value does not mean the same as initial value. Without declar

Flash open source!!!

2006-11-27 Thread Mark Wieder
...and more... The Flash ActionScript Virtual Machine is now open source! I completely missed this announcement until it was brought to my attention this afternoon. http://www.adobe.com/aboutadobe/pressroom/pressreleases/200611/110706Mozilla.html ...now someone with time on their hands needs to

Re: Copying many cds to a stack causes standalone to hang

2006-11-27 Thread Jim Ault
On 11/27/06 1:58 PM, "Steve Denney" <[EMAIL PROTECTED]> wrote: > Hi PL, > The app is a catalogue where users can view pics of the products & click on > them to order (amongst other things). > Currently each product page (card) is kept in a single cd stack file and all > the pages are copied into

Re: Re-2: USB/Serial issue (FTDI EasySync)

2006-11-27 Thread Sarah Reichelt
On 11/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I am writing a program in runrev communicating with an acoustic analyser via RS232 (functions properly) and now work in communicating to a USB relais for regulating the dc in the object we make the measurement on. After reading t

altBrowser license... what about Microsoft and Apple?

2006-11-27 Thread Derek Bump
Does anyone know where I can get the license information for the web kits that altBrowser uses? Specifically, I'd like to know what are Apple and Microsoft's license guidelines for the web kits, or just the fact that altBrowser allows one to embed their browser within 3rd party software. De

Stupid Programming Challenge

2006-11-27 Thread Scott Rossi
OK, I've beaten my head against the wall long enough on this, so I'm throwing it out there for anyone who wants to try their hand at a simple (?) challenge: Modify the initScrollbar routine in the following stack such that 1) the scrollbar displays proportionally to content displayed in the associ

Re: Stupid Programming Challenge

2006-11-27 Thread Scott Rossi
BTW, the stack is in Rev 2.7 format... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit thi

Re: Stupid Programming Challenge

2006-11-27 Thread Tereza Snyder
On Nov 27, 2006, at 9:54 PM, Scott Rossi wrote: OK, I've beaten my head against the wall long enough on this, so I'm throwing it out there for anyone who wants to try their hand at a simple (?) challenge: Modify the initScrollbar routine in the following stack such that 1) the scrollbar d

Re: Stupid Programming Challenge

2006-11-27 Thread Tereza Snyder
On Nov 27, 2006, at 10:25 PM, Tereza Snyder wrote: On Nov 27, 2006, at 9:54 PM, Scott Rossi wrote: OK, I've beaten my head against the wall long enough on this, so I'm throwing it out there for anyone who wants to try their hand at a simple (?) challenge: Modify the initScrollbar routine

Re: Stupid Programming Challenge

2006-11-27 Thread Scott Rossi
Recently, Tereza Snyder wrote: >> Modify the initScrollbar routine in the following stack such that >> 1) the >> scrollbar displays proportionally to content displayed in the >> associated >> group, and 2) the scrollbar consistently scrolls the group to the >> end of its >> content. The stack con

Revolution and the Web, feedback wanted.

2006-11-27 Thread Andre Garzia
Friends, I wrote a really big piece today. I sent to the list but the list rejected saying it is to big (16k, awaiting moderator approaval). I managed to put the whole text (... and add styles) to the new Rev forums. I am requesting feedback on my ideas of where Revolution Web development

Re: Stupid Programming Challenge

2006-11-27 Thread Trevor DeVore
Scott, What about this: ON initScrollbar set the thumbposition of sb "scroller" to 0 set thumbsize of sb "scroller" to 100 * (height of group "master" / formattedheight of group "master") put formattedheight of group "master" - the height of grp "master" into theEndValue IF t

Re: Stupid Programming Challenge

2006-11-27 Thread Scott Rossi
Recently, Tereza Snyder wrote: > oops forgot to say... > > set thumbsize of sb "scroller" to (height of group "master" ) Thank you very kindly -- that seems to have done it. As I (dis)claimed, this was a stupid programming challenge and you have beaten me at my own stupidity. Wait, that didn't

Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-27 Thread Richard Gaskin
Andre wrote: I wrote a really big piece today. I sent to the list but the list rejected saying it is to big (16k, awaiting moderator approaval). That's a silly arbitrary limit. But the post is valuable and there are so many more people here than there that rather than inconvenience the lot

Revolution and the Web, feedback wanted, Part 2 of 3

2006-11-27 Thread Richard Gaskin
From Andre, cont.: First, let me begin by my all-wise-axiom People don't want Rev to run on the web, they want the development experience of xTalk and to be able to deploy for the web. Explaining, no one really want Rev on the web. Having a Revolution built application on an end user machi

Revolution and the Web, feedback wanted, Part 3 of 3

2006-11-27 Thread Richard Gaskin
From Andre, cont.: Web applications usually have a server side component that that deals with core business logic that is not possible to be dealt by using javascript on the client side. We can map that to stack script and make the stack script a cgi/fastgi whatever. If we write a nice RPC sy

Re: Stupid Programming Challenge

2006-11-27 Thread Scott Rossi
Recently, Trevor DeVore wrote: > ON initScrollbar > set the thumbposition of sb "scroller" to 0 > set thumbsize of sb "scroller" to 100 * (height of group > "master" / formattedheight of group "master") > put formattedheight of group "master" - the height of grp > "master" into theE

Re: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-27 Thread Andre Garzia
Richard, thanks for the repost, I should have done that in the first case. Did you read it, do you have any feedback? Cheers andre On Nov 28, 2006, at 3:38 AM, Richard Gaskin wrote: Andre wrote: I wrote a really big piece today. I sent to the list but the list rejected saying it is to b

RE: Stupid Programming Challenge

2006-11-27 Thread Jan Sælid
>Trevor DeVore wrote: >ON initScrollbar > set the thumbposition of sb "scroller" to 0 > set thumbsize of sb "scroller" to 100 * (height of group >"master" / formattedheight of group "master") > put formattedheight of group "master" - the height of grp >"master" into theEndValue >

just a comment

2006-11-27 Thread John Vokey
All, One of my students got caught by the following in her stack: At the top of the card script, she declared some variables local to the scripts of that card, as we always we do. For one of these variables, she did not initialise it in any way. However, the use of that variable is al

Re: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-27 Thread Mark Wieder
Richard- Monday, November 27, 2006, 9:38:23 PM, you wrote: > That's a silly arbitrary limit. But the post is valuable and there are > so many more people here than there that rather than inconvenience the > lot of them I've taken the liberty of re-posting your message here as > you originally in

Re: The basics of a chat program

2006-11-27 Thread Mark Talluto
On Nov 22, 2006, at 5:33 PM, Jan Sælid wrote: Hi everyone I would be very grateful if anyone on the list could give me some directions in creating a simple chat program. I just need something to start with. Have anyone created one? Is it possible to test it on one single machine (with

Re: just a comment

2006-11-27 Thread Chipp Walters
Hi John, Actually the behavior is correct. If you declare a local variable OUTSIDE the other handlers of an object, it will stay persistent and is accessible to all handlers/functions for that object. This has some nifty benefits. It allows you to create persistent variables, which aren't global

Re: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-27 Thread Richard Gaskin
Andre wrote: thanks for the repost, I should have done that in the first case. I had no idea there was a size limit to posts; I'm surprised I hadn't run up against that myself yet. :) Did you read it, do you have any feedback? Of course I like it. A lot. Your thorough, disciplined think

Re: just a comment

2006-11-27 Thread Jim Ault
On 11/27/06 10:03 PM, "John Vokey" <[EMAIL PROTECTED]> wrote: > All, >One of my students got caught by the following in her stack: > >At the top of the card script, she declared some variables local > to the scripts of that card, as we always we do. For one of these > variables, she did

Saving list contents on different cards

2006-11-27 Thread Scott Kane
It's my week for the newbie questions. ;-) I have some scrolling list fields on cards - set to groups with background settings. Each card *should* have a different list. Now I tried creating a custom property and popping the list into the custom property (custom property of a card I should

Re: java open source!!! [OT]

2006-11-27 Thread Mark Wieder
Jan- Monday, November 27, 2006, 1:53:33 PM, you wrote: > I'm pretty well-versed in Java, but I groan every time > I have to design a user interface for that > well-working business model. In Rev I can design a > decent-looking interface in no time - if Rev had > classes for the business model, I'

Re: MatchWithin

2006-11-27 Thread Mark Wieder
Jim- Monday, November 27, 2006, 10:08:51 AM, you wrote: > I don't think there is any realistic speed difference between the solutions > unless the HTML text block is very large (like an indexed of 100 links to > 'my favorite web sites'), and then the regEx will be the slowest factor. > Both solut

Re: Stupid Programming Challenge

2006-11-27 Thread Trevor DeVore
On Nov 27, 2006, at 9:55 PM, Jan Sælid wrote: Trevor DeVore wrote: ON initScrollbar set the thumbposition of sb "scroller" to 0 set thumbsize of sb "scroller" to 100 * (height of group "master" / formattedheight of group "master") put formattedheight of group "master" - the height

RE: The basics of a chat program

2006-11-27 Thread Jan Sælid
Mark Talluto wrote on 28. november 2006 07:32, >I wrote chatter box but have not looked at it in some time. The only >prerequisite was that you needed to know the ip of the two systems >talking. I'll take a look at it again and make sure it is working. >The program does not work on the se

Re: Revolution and the Web, feedback wanted, Part 1 of 3

2006-11-27 Thread Andre Garzia
Mark, you know half of this article was written after talking to you... :-) this piece is just a continuation of our talkings during revcon malta, I want to get something done, even if only to sprout more conversation here. waiting for your thoughts. Cheers andre On Nov 28, 2006, at 4:32

Re: Saving list contents on different cards

2006-11-27 Thread Eric Chatonet
i Scott, Just uncheck the "Share Text" box in the field "Basic Properties" property pane. As I said recently: I agree: as fields, buttons should have a "sharedText" property. When the sharedText properyy of a field is set to false, each card displaying this field (grouped with behavior's

Re: The basics of a chat program

2006-11-27 Thread Mark Talluto
On Nov 27, 2006, at 10:32 PM, Mark Talluto wrote: On Nov 22, 2006, at 5:33 PM, Jan Sælid wrote: Hi everyone I would be very grateful if anyone on the list could give me some directions in creating a simple chat program. I just need something to start with. Have anyone created one? Is

RE: Stupid Programming Challenge

2006-11-27 Thread Jan Sælid
Trevor wrote, >I think it is actually opposite. Tereza's code seems to make the >thumbsize larger than the code I posted above and seems to be the >right solution. You are definitively right, my stupid mistake, I forgot to remove "100 *" for thumbsize. Sorry to create a mess. I've been boili

Re: Saving list contents on different cards

2006-11-27 Thread Scott Kane
Just uncheck the "Share Text" box in the field "Basic Properties" property pane. Doh! Thanks, Eric. I owe you several beers!! :-) Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubs