Re: LiveCode SQL APIs

2011-02-14 Thread Josh Mellicker
If you have multiple users for your db, you will not want persistent connections because there's a limit to how many simultaneous connections you can have to a MySQL db. On Feb 14, 2011, at 3:08 PM, Paul Dupuis wrote: > Björnke, > > In other languages, in days gone by, it was good practice to

onrev, imageMagick and accessing images in a user-defined directory

2011-02-14 Thread Nicolas Cueto
Maybe I should've marked this off-topic... My goal is an irev script ("") that, thru shell commands, uses ImageMagick to work with images, with everything happening/stored in my onrev account. My first step was to study Sarah Reichelt's "Numeric display" irev script (thank you, Sarah!). Happily

Re: Stackfiles followup

2011-02-14 Thread Monte Goulding
>>> However, it looks like I have some wholesale changes to make to get my >>> stackFiles working correctly with regard to my behavior scripts. The >>> buttons that hold the behavior scripts are in a substack. I've included >>> the name of the behaviors substack and it's main stack in the stac

Re: iOS: How to create a transition to a new screen

2011-02-14 Thread Thomas McGrath III
Jerome, I doubt you can find the exact speed of these transitions from within xCode. I have an app open that i wrote in xCode and on another device the one in livecode and test them side by side. I just gave up on AnimationEngine to emulate a paging swipe and instead gave up on the bounce in fa

Re: RevServer in CSS

2011-02-14 Thread Andre Garzia
On Mon, Feb 14, 2011 at 6:30 PM, Medard wrote: > Andre Garzia wrote: > > Eeeer, it is "Médard" (or "Medard") but not "Me*dard" > (somehow related to sh*t ;->) > KKK!!! I am very sorry for the typo! Emailing that early in the morning is not good for my brain!!! > No harm, though ;-) > >> I t

Problem transferring focus to another object

2011-02-14 Thread Terry Judd
Hi there - I¹m trying to build a Œfake¹ optionmenu control where the menu is a list field object that is popped up over the control. I have a mouseMove handler in the field to set the hilitedLines of the field and this all works well provided the user clicks the control to popup the menu (field) an

Re: Stackfiles followup

2011-02-14 Thread Peter Haworth
Thanks Monte, I'll give all of that a whirl. Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Feb 14, 2011, at 1:59 PM, Monte Goulding wrote: > > On 15/02/2011, at 7:01 AM, Peter Haworth wrote: > >> My fr

Datagrid Drag and Drop

2011-02-14 Thread Bob Sneidar
Hi all. I am still getting this wrong, and I thought I had it down. I have these lines in a DragDrop handler: put the dragsource into theSource put the dragdestination into theDestination When I step through the code, these variables contain the full ID's of the objects like you would e

Re: Your message to use-livecode awaits moderator approval

2011-02-14 Thread Jérôme Rosat
Bob, Monte, Sorry for that. This is my email address. I wanted to send a message to the list, but I use a wrong email address. But by mistake, I sent the error message in the list. I thought I had managed to remove this message. Please ignore. Jerome Le 15 févr. 2011 à 00:25, Monte Goulding

Re: LiveCode SQL APIs

2011-02-14 Thread Bob Sneidar
It is my experience that when connecting to web based SQL servers, that they drop you themselves after a period of idle time. This is of course, to prevent someone from running a kind of DDOS on your SQL server. Unless you control the server, you cannot disable this. I agree with the assessmen

Re: Your message to use-livecode awaits moderator approval

2011-02-14 Thread Monte Goulding
On 15/02/2011, at 10:20 AM, Bob Sneidar wrote: > Why am I getting this? The bounce says it was resent from jro...@mac.com. I'm > a little concerned my Mobile Me mail account has been cracked somehow... It must have been sent to the list because I got it too. Cheers Monte _

Re: Your message to use-livecode awaits moderator approval

2011-02-14 Thread Bob Sneidar
Why am I getting this? The bounce says it was resent from jro...@mac.com. I'm a little concerned my Mobile Me mail account has been cracked somehow... Bob On Feb 14, 2011, at 3:10 PM, use-livecode-boun...@lists.runrev.com wrote: > Your mail to 'use-livecode' with the subject > > iOS: How to

iOS: How to create a transition to a new screen

2011-02-14 Thread Jérôme Rosat
Hello everyone, In iOS, a table view displays data in rows. In a hierarchical structure, when the user selects a row, a new screen slides from the right with a new table view. At the same time, the title of the navigation bar slides and appears from the right to the center, the "back button" s

Your message to use-livecode awaits moderator approval

2011-02-14 Thread use-livecode-bounces
Your mail to 'use-livecode' with the subject iOS: How to create a transition to a new screen Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you wi

Re: LiveCode SQL APIs

2011-02-14 Thread Paul Dupuis
Björnke, In other languages, in days gone by, it was good practice to keep the connection open if an application expected to issue multiple queries (such as a user driven reporting application) becuase there was overhead in setting up a connection and creating and opening a connection, execut

Re: LiveCode SQL APIs

2011-02-14 Thread Björnke von Gierke
I'm not a experienced sql - lc connection maker either, but i ask myself why to keep a connection alive? So I take the freedom to append my own question to yours: Some people like to keep alive their DB connections. But isn't it usually a more robust approach to close the connection as soon as

LiveCode SQL APIs

2011-02-14 Thread Paul Dupuis
I can think a few way to construct a "keep-alive" process to ensure that a connection to a MySQL database via the LiveCode database drivers doesn't time out. However, it occurs to me that folks who spend more time writing LiveCode MySQL applications than I may have come up with a "best" way to

Re: Live LiveCode Code Event #10

2011-02-14 Thread Björnke von Gierke
Alright. here's the wrap up info for event 10: I introduced my progress on BvG Docu 2, and then presented some things planned for chartsengine (three parts due to weak bandwidth): http://www.ustream.tv/recorded/12649506 http://www.ustream.tv/recorded/12649796 http://www.ustream.tv/recorded/126499

Re: Stackfiles followup

2011-02-14 Thread Monte Goulding
On 15/02/2011, at 7:01 AM, Peter Haworth wrote: > My front scripts are now working OK after I addedd "of stack "xyz" to my > insert commands as Jacqueline suggested. > > However, it looks like I have some wholesale changes to make to get my > stackFiles working correctly with regard to my beha

Valentine's Day Special: Save 40% on Valentina Reports; Valentina Reports to Support SQLite

2011-02-14 Thread Lynn Fredricks
Freaking big URL alert: http://www.valentina-db.com/en/company/news/1-latest-news/247-valentines-day -2011-valentina-reports-to-support-sqlite-save-40-on-reports-one-day-only SAVE 40% on Valentina Reports Valentine's Day is Valentina Day, so we have a great one day offer for Valentina ADK for Rev

Re: RevServer in CSS

2011-02-14 Thread Medard
Andre Garzia wrote: Eeeer, it is "Médard" (or "Medard") but not "Me*dard" (somehow related to sh*t ;->) No harm, though ;-) > I think both options work, the benefit of having an external file as a > css is that it is easier to share among files. CSS files don't need a > CSS extension but you ma

Re: tooltip problem

2011-02-14 Thread dunbarx
Mark, et al. Ah. So it is not the latest and greatest idea. And not updating unless the value has changed does indeed make it less ugly. Nice one. But why does setting it to empty matter as regards updating the property? The property changes correctly, as I said, it just does not update the

Stackfiles followup

2011-02-14 Thread Peter Haworth
My front scripts are now working OK after I addedd "of stack "xyz" to my insert commands as Jacqueline suggested. However, it looks like I have some wholesale changes to make to get my stackFiles working correctly with regard to my behavior scripts. The buttons that hold the behavior scripts a

Re: tooltip problem

2011-02-14 Thread Mark Schonewille
Hi Craig, All other solutions posted so far will cause the tooltip to flash in an ugly way. Here's how to do it: on mouseMove put (the value of the mouseLine)/36 into myNewTip if the tooltip of me is not myNewTip then set the tooltip of me to empty set the toolTip of me to myNewTip

Re: tooltip problem

2011-02-14 Thread Scott Rossi
When I try a simple test here, the tooltip seems to update as expected, even with an unlocked field (cursor changes to ibeam). on mouseMove set the toolTip of me to value(the mouseLine) / 12 end mouseMove By any chance are you testing with the pointer tool selected because you'll only get the

RE: tooltip problem

2011-02-14 Thread John Dixon
This works for me, the toolTip updates by just moving over the lines of the fld... on mousemove put the value of the mouseLine / 36 into tipTop set the toolTip of me to tipTop end mousemove > Anyone: > I want to use the tooltip to display information. I have a field with numbers > in e

Re: tooltip problem

2011-02-14 Thread J. Landman Gay
On 2/14/11 12:48 PM, dunb...@aol.com wrote: I get a dynamic value for the mouseLine as I move the cursor over various lines in the field (this was just a check) but the only toolTip I get is when I enter the field. That line responds fine, but no other values appear as I move the mouse to ot

tooltip problem

2011-02-14 Thread dunbarx
Anyone: I want to use the tooltip to display information. I have a field with numbers in each line. I want to display the number in a line divided by 36. So if I have 72 as a value in the line, I would like the tooltip to read "36". Easy, right: on mouseMove put the mouseLine set the too

Re: stackFiles

2011-02-14 Thread Peter Haworth
Thanks to all for the pointers and advice. I can get this working now with one of the suggested methods or possibly a combination. As for the issue of the mainstack not being in the behavior ID, I'm glad it's not there, like Monte and wouldn't like to see the software changed to be in line wit

Re: Image object not existing ?

2011-02-14 Thread René Micout
YES !! This is that ! My main stack is the "About" stack and when I refer to objects in "on openStack" script my stack is not "open"... I understand... I modified that and all works well (no error message). I turned the problem by placing these lines in the card script under "on openCard"... But

Re: Image object not existing ?

2011-02-14 Thread Peter Brigham MD
May try adding the stack specifier to the image and btn references in your script? img "imgFondSliderIntensité" of stack "myStackName", etc. -- it sounds as if when that script is running the defaultstack has been set to a different stack. -- Peter Peter M. Brigham pmb...@gmail.com http:

Re: RevServer in CSS

2011-02-14 Thread Andre Garzia
Merdard, I think both options work, the benefit of having an external file as a css is that it is easier to share among files. CSS files don't need a CSS extension but you may need to create a new extension and a new mime type or add some code in it to make sure it is served with Content-type: tex

Re: RevServer in CSS

2011-02-14 Thread Medard
Sivakatirswami wrote: > Has anyone tried anything like this? [snip] Wow! I didn't imagine to do that with .css files! Or do you have a

Re: RevServer in CSS

2011-02-14 Thread Medard
Andre Garzia wrote: > yes, it works but your css file will not have the css extension yes, so I thought of leaving

Re: RevServer in CSS

2011-02-14 Thread Andre Garzia
yes, it works but your css file will not have the css extension so be extra careful with naming so that you remember what the file is, for example, name it like style.css.irev that should do it. or add a new action handler such as: AddHandler irev-script .cssrev and name the file style.cssrev

Re: revZip external

2011-02-14 Thread Mark Schonewille
Hi all, I have published my zip script on my blog at http://qery.us/ny . This script includes empty folders in your zip file and automatically creates a zip file in the same folder as the original. The script doesn't include decompression routines. If you want more options or if you want to de