Re: Geometry in latest version of RunRev
On Mon, 22 Oct 2007 12:49:19 +1000, Sarah Reichelt wrote: >> The GM is good for what it does, but it can't anticipate all possible >> combinations of object-ordering needs, and will fail in some cases. >> >> Writing one's one geometry management is so simple that I never >> understood why RunRev saddled themselves with writing 40k of GM script >> just for a subset of needs. >> >> Just use the resizeStack message, and you can trim most object resizing >> to one-line calls using a custom function: >> > > I agree with Richard. Writing your own gives you far better control. > However I have 2 custom handlers: one sets the rect like Richard's and > the other sets the loc, which is more convenient for buttons that > don't need to resize, just move. Agreed: Mine is more complex on the back end but perhaps simpler on the front end (I'll show the calls here, and if anyone is interested in the "backend" code let me know and I'll send it): on resizeStack stsSetRect "OK",">B:-20,R:-20" -- See (1) below stsSetRect "Cancel",">RL:-20","OK" -- See (2) below stsSetRect "Main","BT:-20","OK" -- See (3) below stsSetRect "Main","R:-20" -- See (4) below end resizeStack (1) Moves btn "OK" so that its bottom is 20 pixels up from the bottom of the card, and 20 pixels from the right edge of the card. (2) Moves btn "Cancel" so that its right edge is 20 pixels less than the left edge of btn "OK". (3) Resizes fld "Main" so that its bottom is 20 pixels up from the top of btn "OK". (4) Resizes fld "Main" so that its right is 20 pixels from the right edge of the card. Regardless of which way you go though, it is pretty easy to write your own and then if something goes wrong, it's easier to fix. :-) Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Geometry in latest version of RunRev
> The GM is good for what it does, but it can't anticipate all possible > combinations of object-ordering needs, and will fail in some cases. > > Writing one's one geometry management is so simple that I never > understood why RunRev saddled themselves with writing 40k of GM script > just for a subset of needs. > > Just use the resizeStack message, and you can trim most object resizing > to one-line calls using a custom function: > I agree with Richard. Writing your own gives you far better control. However I have 2 custom handlers: one sets the rect like Richard's and the other sets the loc, which is more convenient for buttons that don't need to resize, just move. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Geometry in latest version of RunRev
Dave wrote: Does anyone know if the Geometry has been fixed in the latest version? I really don't want to invest all the time editing the objects if it still goes beswick! The GM is good for what it does, but it can't anticipate all possible combinations of object-ordering needs, and will fail in some cases. Writing one's one geometry management is so simple that I never understood why RunRev saddled themselves with writing 40k of GM script just for a subset of needs. Just use the resizeStack message, and you can trim most object resizing to one-line calls using a custom function: on resizeStack x,y SetObjRect fld "Main","", "", x-20, y-100 put the bottom of fld "Main" into tBot SetObjRect btn "OK", x-100, tBot+12, x-20,tBot+35 put the left of btn "OK" into tLeft SetObjRect btn "Cancel", tLeft-100, tBot+12, tLeft-20,tBot+35 end resizeStack on SetObjRect pObj local tObj, r, i -- put the long id of pObj into tObj put the rect of tObj into r repeat with i = 2 to 5 get param(i) if it is not empty then put it into item (i-1) of r end repeat set the rect of tObj to r end SetObjRect Handling the native resizeStack directly can take a few minutes' scripting, but leaves you totally in control and allows you to use previously-adjusted objects to determine the positions of others, and you know exactly the order they're processed in. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: 4D Acius DBase Completely Re-written with SQL back end
Oh, yeah, and 4D, Inc. hasn't gone by ACIUS in several years. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: 4D Acius DBase Completely Re-written with SQL back end
Um, 4D has supported ODBC for a very long time, so I'm unclear how your team thinks this is going to change things. SQL Support in 4Dv11 (the version that was just released, and was being discussed at the Summit) was primarily to allow the embedding of SQL in 4D code. There are certainly circumstances where I think this is a wonderful development. However, since 4D has supported ODBC (and therefore SQL queries) for quite a while, I'm curious how you think this makes things easier for RR. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT: 4D Acius DBase Completely Re-written with SQL back end
When I saw Dbase and 4D in one sentence I got pretty excited but you don't mean "DBase" as in Microsoft Foxpro do you? Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Oct 21, 2007, at 17:07, Sannyasin Sivakatirswami <[EMAIL PROTECTED]> wrote: FYI: three of our team have spent the last 5 days in Memphis, attending the international 4D conference. Apparently the back end storage structure for 4D has been completely re-done, and is SQL now... so, perhaps the long time wish list item here, to have a Rev connector to 4D will become a possibility. And in theory mashups between 4D, MySQL and PostGreSQl data sets should be easier now.. Not clear yet how proprietary their SQL implementation is. Will find more after de-briefing the team here. Anyone else using 4D? (Acius) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT: 4D Acius DBase Completely Re-written with SQL back end
FYI: three of our team have spent the last 5 days in Memphis, attending the international 4D conference. Apparently the back end storage structure for 4D has been completely re-done, and is SQL now... so, perhaps the long time wish list item here, to have a Rev connector to 4D will become a possibility. And in theory mashups between 4D, MySQL and PostGreSQl data sets should be easier now.. Not clear yet how proprietary their SQL implementation is. Will find more after de-briefing the team here. Anyone else using 4D? (Acius) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: peer to peer regression test proposal (was Re: QT controller on Vista: how to change volume?)
I'd certainly up for this...count me in! Best, Mark On 21 Oct 2007, at 21:28, Andre Garzia wrote: Hello Friends, I have here a little proposal for the volunteers on this list. With every release of an OS or Revolution we have some things breaking. This is the nature of things, we can't change it but we can help fix it. What about we build a community "regression test", some test stacks. Each volunteer or group of volunteer would build and mantain a little stack to test some subset of revolution. With each release and platform, they'd test it against the new thing and we could report back to runrev and web. I can host this and I can build the report thing and I volunteer to build the regression test for socket routines and libURL (which never breaks!) This way a small group can do some impact and help Bill at QC and RunRev team. Even if we can't test all of transcript and rev, if we test 40% if it, still we can guarantee that this 40% is working or broken which is nice anyway. A group of people could take care of QT controler and routines testing and quickly catch things such as this volume issue very fast. is this a good idea? andre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Replacing a stack
Hi Shari, Remove the stack from memory, before opening the new version. lock messages delete stack "Your Stack" -- remove from memory go stack "Mac HD/Folder/Your Stack.rev" put the xVersion of stack "Your Stack" --> 10 unlock messages Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 22-okt-2007, om 0:44 heeft Shari het volgende geschreven: This problem is buggering me. My app creates a preferences stack in some writeable folder (Preferences on Mac OSX and varying locations on Windows depending on the system). I want to be able to replace this stack with a newer version if there is a need to. The newer version has an xVersion number of 10, has been compressed and saved as the stackData of the application itself. The older version (in the Prefs folder) has an xVersion of 7. When the app launches it checks the versions, and discovers that the stack in the Prefs folder needs to be replaced. So it deletes that stack. In testing I have it answer someMessage and with the answer window open, can verify that the old stack is indeed deleted from the prefs folder. It then decompresses the stackData of the app and puts it into binfile:prefsLocation. I know beyond a doubt that the stackData has the right version of 10. But after it decompresses and creates the new Prefs stack, I check the version and it's 7, the same version of the deleted stack. What am I missing? I had tried at one time to just have it copy a stack from one folder to another, each stack having a different name, having it copy and rename the stack, but no matter how I did it I kept getting that annoying "stack is already running, do you want to purge it?" dialog. So I thought to try the compress/ decompress/binfile approach instead. I am using the same compress/decompress/binfile code that I have already working with another stack. So I know this code is good. Any thoughts? Suggestions? Is there a way to read the compressed data and verify the xVersion before it actually creates the new stack? Shari ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Replacing a stack
This problem is buggering me. My app creates a preferences stack in some writeable folder (Preferences on Mac OSX and varying locations on Windows depending on the system). I want to be able to replace this stack with a newer version if there is a need to. The newer version has an xVersion number of 10, has been compressed and saved as the stackData of the application itself. The older version (in the Prefs folder) has an xVersion of 7. When the app launches it checks the versions, and discovers that the stack in the Prefs folder needs to be replaced. So it deletes that stack. In testing I have it answer someMessage and with the answer window open, can verify that the old stack is indeed deleted from the prefs folder. It then decompresses the stackData of the app and puts it into binfile:prefsLocation. I know beyond a doubt that the stackData has the right version of 10. But after it decompresses and creates the new Prefs stack, I check the version and it's 7, the same version of the deleted stack. What am I missing? I had tried at one time to just have it copy a stack from one folder to another, each stack having a different name, having it copy and rename the stack, but no matter how I did it I kept getting that annoying "stack is already running, do you want to purge it?" dialog. So I thought to try the compress/decompress/binfile approach instead. I am using the same compress/decompress/binfile code that I have already working with another stack. So I know this code is good. Any thoughts? Suggestions? Is there a way to read the compressed data and verify the xVersion before it actually creates the new stack? Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: peer to peer regression test proposal (was Re: QT controller on Vista: how to change volume?)
I can help, if there's need, but i need to be told what to do... If there's need for discussion, chatrev is open, as always... On 21 Oct 2007, at 21:28, Andre Garzia wrote: ... This way a small group can do some impact and help Bill at QC and RunRev team. Even if we can't test all of transcript and rev, if we test 40% if it, still we can guarantee that this 40% is working or broken which is nice anyway. A group of people could take care of QT controler and routines testing and quickly catch things such as this volume issue very fast. is this a good idea? -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"; ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: peer to peer regression test proposal (was Re: QT controller on Vista: how to change volume?)
On Sun, 21 Oct 2007 16:28:36 -0300, Andre Garzia wrote: > A group of people could take care of QT controler and routines testing > and quickly catch things such as this volume issue very fast. > > is this a good idea? Sounds good to me... count me in! Ken ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening a PFD - What am I doing wrong??
On Sun, 21 Oct 2007 09:46:40 -0700, Dan Friedman wrote: > Does anyone know why this doesn¹t work? I can¹t seem to get a PDF to open > (in Acrobat) on Windows. Rev is doing it successfully in their docs (they > have a revGoPFD command that I can¹t trace into. They are calling it from > mouseUp in the script of card ³User Guide² of stack ³revdocumentation.rev². > I have tried a bizillion variations of the script below. I can get Acrobat > to launch, but if I supply a document, it fails I get a hour glass for a > moment, and then nothing. And the result is empty. UG! Odd, your script works for me with "launch document" under 2.8.1... is it possible the path to the PDF may be an issue? Try renaming the pdf to something simple and putting it on your desktop... does it work now? Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using and Controlling RevSpeak
On 19 Oct 2007, at 6:00 pm, Richmond Mathewson wrote: Well I made a stack (which I have just uploaded to RevOnline; "Speech Checker") which took me 3 minutes to make (swank, swank). It contains 2 flds: "fSPEECH" and "YNO" and a button: "CHECK FOR SPEECH" the button contains the following script: Great. Why didn't I think of that? As to the pausing problem, I was wondering if speech is so intensive a task, reduced responsivity is inevitable to some degree? Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
SQLite3 - problems connecting to database
Hi folks ~ Has anyone else had trouble connecting to an SQLite3 database now that it's integrated into the current Rev v2.8.1 gm-3? I have no problems connecting and interacting with mySQL databases using either the Rev Database Query Builder or the Rev commands themselves. It "appears" as though Rev connects to an SQLite3 database as the Database Query Builder says it's connected after clicking on the Connect button, however there is no returned database ID and when I change to the Record Set in QB, the popup menu to the tables says the table(s) are not available. It says it is connected, even if the full path to the database is not filled out, so I suspect it's not connected at all. If I force type in the name of a table, I get the Rev error message: An error resulted for the SQL command in the database: employeeInfo Revdb error: Database Error: SQL error or missing database Query: SELECT * FROM employeeRecords I've used both Terminal and the open source app SQLite3 Database Browser v1.3 to create a simple SQLite3 database, but am having no luck. I'd really like to use SQLite3 for apps that only need single user data storage/access that travel with the app. Is there something I'm missing? Thanks to any and all that can end this frustration. Lynn Peterson OS X 10.4.10 [non Intel] Rev Studio v2.8.1 gm-3 -- View this message in context: http://www.nabble.com/SQLite3---problems-connecting-to-database-tf4667167.html#a13332359 Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
peer to peer regression test proposal (was Re: QT controller on Vista: how to change volume?)
Hello Friends, I have here a little proposal for the volunteers on this list. With every release of an OS or Revolution we have some things breaking. This is the nature of things, we can't change it but we can help fix it. What about we build a community "regression test", some test stacks. Each volunteer or group of volunteer would build and mantain a little stack to test some subset of revolution. With each release and platform, they'd test it against the new thing and we could report back to runrev and web. I can host this and I can build the report thing and I volunteer to build the regression test for socket routines and libURL (which never breaks!) This way a small group can do some impact and help Bill at QC and RunRev team. Even if we can't test all of transcript and rev, if we test 40% if it, still we can guarantee that this 40% is working or broken which is nice anyway. A group of people could take care of QT controler and routines testing and quickly catch things such as this volume issue very fast. is this a good idea? andre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening a PFD - What am I doing wrong??
Dan, I don't have windows, but try something along this: on OpenPDF theFilePath get shell(format("start %s", theFilePath)) end OpenPDF don't know if the line is this, but I think you can start a file using the start command in the shell() Andre On 10/21/07, Dan Friedman <[EMAIL PROTECTED]> wrote: > Does anyone know why this doesn¹t work? I can¹t seem to get a PDF to open > (in Acrobat) on Windows. Rev is doing it successfully in their docs (they > have a revGoPFD command that I can¹t trace into. They are calling it from > mouseUp in the script of card ³User Guide² of stack ³revdocumentation.rev². > I have tried a bizillion variations of the script below. I can get Acrobat > to launch, but if I supply a document, it fails I get a hour glass for a > moment, and then nothing. And the result is empty. UG! > > on mouseUp > answer file "Select PDF:" > put it into fPath > > --launch document fPath ‹ This doesn¹t work either! > > put > queryRegistry("HKEY_CLASSES_ROOT\AcroExch.Document\shell\open\command\") > into acroPath > put word 1 to -2 of acroPath into acroPath > put char 2 to -2 of acroPath into acroPath > > --launch acroPath --THIS WORKS > launch fPath with acroPath --THIS FAILS!! > end mouseUp > > > Thank you in advance, > Dan > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: QT controller on Vista: how to change volume?
Richard, The popup panel flashing briefly does not appear to be Vista specific -- I get exactly the same effect using XP SP2. Paul -- View this message in context: http://www.nabble.com/QT-controller-on-Vista%3A-how-to-change-volume--tf4649014.html#a13331552 Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Opening a PFD - What am I doing wrong??
Does anyone know why this doesn¹t work? I can¹t seem to get a PDF to open (in Acrobat) on Windows. Rev is doing it successfully in their docs (they have a revGoPFD command that I can¹t trace into. They are calling it from mouseUp in the script of card ³User Guide² of stack ³revdocumentation.rev². I have tried a bizillion variations of the script below. I can get Acrobat to launch, but if I supply a document, it fails I get a hour glass for a moment, and then nothing. And the result is empty. UG! on mouseUp answer file "Select PDF:" put it into fPath --launch document fPath This doesn¹t work either! put queryRegistry("HKEY_CLASSES_ROOT\AcroExch.Document\shell\open\command\") into acroPath put word 1 to -2 of acroPath into acroPath put char 2 to -2 of acroPath into acroPath --launch acroPath --THIS WORKS launch fPath with acroPath --THIS FAILS!! end mouseUp Thank you in advance, Dan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Geometry in latest version of RunRev
It hasn't been fixed. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 21-okt-2007, om 14:30 heeft Dave het volgende geschreven: Hi, Does anyone know if the Geometry has been fixed in the latest version? I really don't want to invest all the time editing the objects if it still goes beswick! Thanks All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Geometry in latest version of RunRev
Hi, Does anyone know if the Geometry has been fixed in the latest version? I really don't want to invest all the time editing the objects if it still goes beswick! Thanks All the Best Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution => Flash
I've not been following this conversation, so this answer may not fit the bill. But I regularly use ffmpeg from within Rev to convert from various formats to Flash. It's a very versatile and free program. Maybe there's a solution in there for this issue. Richard Miller ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution