Re: Resizing a Text Field

2012-08-28 Thread Devin Asay
On Aug 27, 2012, at 11:11 PM, Peter Bogdanoff wrote: Hi, Does anyone have a quick and dirty script for resizing a field to fit text content? Peter Bogdanoff UCLA Here's a start: on rawKeyUp set the height of fld mytext to the formattedHeight of fld mytext pass rawKeyUp end

Rev Browser

2012-08-28 Thread paolo mazza
Hi all I am having problem with Rev Browser in my new app for MACOSX. Consider this HTML, input name=dsds style=background-color: #FF type=text / , why RevBrowser shows this text field with a background color black while Safari shows it (correctly) with an orange background color ? All the

Any Changes to LiveCode Server Setup for Mountain Lion

2012-08-28 Thread Gregory Lypny
Hello everyone, I recently upgraded to Mountain Lion. Are there any changes to the setup procedures for LiveCode server? Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Any Changes to LiveCode Server Setup for Mountain Lion

2012-08-28 Thread Mike Bonner
If you've installed the 'Server' from the app store, then the config files are in /Library/Server/Web/Config/apache2 You can add the 2 following lines to httpd_server_app.conf (there is also httpd_server_app.conf.default which might work, if I recall the httpd.conf that is in there did NOT work

Re: Any Changes to LiveCode Server Setup for Mountain Lion

2012-08-28 Thread Mike Bonner
My click finger slipped. I was saying if you are not using the server addon I believe the files are in /etc/apache2 but i'm not positive those are the correct ones. I think there is a 3rd location that contains conf files. On Tue, Aug 28, 2012 at 9:20 AM, Mike Bonner bonnm...@gmail.com wrote:

Re: Problem resizing a stack

2012-08-28 Thread Bob Sneidar
Pete, I believe that the solution post said something about some custom properties that were left that were messing things up. Did you look at the custom properties of the objects? Bob On Aug 27, 2012, at 6:45 PM, Peter Haworth wrote: Thanks Bob, I read that and there is one common factor -

Re: Any Changes to LiveCode Server Setup for Mountain Lion

2012-08-28 Thread Gregory Lypny
Thanks Mike, Much obliged. I got the second part of the message as well. Gregory On Tue, Aug 28, 2012, at 11:33 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 23 Date: Tue, 28 Aug 2012 09:20:32 -0600 From: Mike Bonner bonnm...@gmail.com To: How to use LiveCode

Re: Problem resizing a stack

2012-08-28 Thread Peter Haworth
Yes, there weren't any. Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 8:32 AM, Bob Sneidar b...@twft.com wrote: Pete, I believe that the solution post said something about some custom properties that were left that were messing things up. Did you look at the custom

Can anyone confirm this possible bug ?

2012-08-28 Thread Alex Tweedly
Is this a bug, or a feature, or just something in my environment ? Create a new stack, add a button, and make the button script be on mouseUp pMouseBtnNo put we get here trythis(1) put but do we get to here end mouseUp (Yes, I know it's wrong - that's the point :-) Compile this

Re: Problem resizing a stack

2012-08-28 Thread Peter Haworth
OK, I figured out what the problem is although I don't have a clue why it's a problem. I noticed that putting breakpoint commands in my preOpenCard script was not having any effect, depending on where I put them. I assumed that was happening because the code never reached the breakpoint for some

Re: Problem resizing a stack

2012-08-28 Thread Mark Wieder
Pete- Tuesday, August 28, 2012, 9:39:42 AM, you wrote: But I can't help but wonder why that statement would cause a problem in a plugin but not in a regular stack, and perhaps even more worrying, why no runtime error was reported. No runtime errors are reported in system stacks by default

Re: Can anyone confirm this possible bug ?

2012-08-28 Thread Mike Bonner
If I have script-debug mode on execution stops and the offending line and error message is shown in the errors pane at the bottom of the script window (as expected). If script debug is off, an error window pops up saying handler not found with a can't find handler error also as expected. Is it

Re: Can anyone confirm this possible bug ?

2012-08-28 Thread Mark Wieder
Alex- Tuesday, August 28, 2012, 9:35:19 AM, you wrote: Is this a bug, or a feature, or just something in my environment ? Create a new stack, add a button, and make the button script be on mouseUp pMouseBtnNo put we get here trythis(1) put but do we get to here end mouseUp

[ANN] Beta version of Data Storage Lib, a NoSQL local storage library

2012-08-28 Thread Andre Garzia
Hey Folks, I am releasing a beta version of the Data Storage Lib, a NoSQL data storage library for local LiveCode development. It is an add-on for my DB Lib and uses SQLite for the storage medium. It can store any kind of information as long as it is inside an array variable. It doesn't require

Re: Problem resizing a stack

2012-08-28 Thread Bob Sneidar
I wonder if wrapping all the code in preOpenStack with a try catch would generate an error you could look at to get a clue as to why that bit of code was tossing an error. Bob On Aug 28, 2012, at 9:39 AM, Peter Haworth wrote: But I can't help but wonder why that statement would cause a

Re: Can anyone confirm this possible bug ?

2012-08-28 Thread Peter Haworth
Hi Alex, I get a runtime error on the trythis(1) statement - can't find handler near try this. This is LC 5.5.1, OSX Lion Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 9:35 AM, Alex Tweedly a...@tweedly.net wrote: Is this a bug, or a feature, or just something in my

Re: Problem resizing a stack

2012-08-28 Thread Peter Haworth
Thanks Mark and Bob. Unfortunatlet neither of those methods resulted in an error message. Oh well, I'm just happy that my stack works again, time to move on. Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 9:49 AM, Mark Wieder mwie...@ahsoftware.net wrote: Pete- Tuesday,

Re: [ANN] Beta version of Data Storage Lib, a NoSQL local storage library

2012-08-28 Thread Andre Garzia
Folks, I've just released a beta version of this. http://andregarzia.com/page/dblib Check out the docs and guides. =D On Tue, Aug 28, 2012 at 2:09 PM, Andre Garzia an...@andregarzia.com wrote: Hey Folks, I am releasing a beta version of the Data Storage Lib, a NoSQL data storage library

libURLDownLoadToFile

2012-08-28 Thread Peter Haworth
Having a problem with this command. The url of the file to download looks fine (it's urlEncoded) and the file exists on the server. Local filename also is fine. I've set the callback message with libURLSetStatusCallback and in there I have logic that updates a progress bar. When the

Using Stacks With LiveCode Server

2012-08-28 Thread Gregory Lypny
Hello everyone, I've got LiveCode server up and running on my Mac (OS X Mountain Lion). I'd like to be able to store a bunch of handlers in the stack script of a library stack, but I am not sure where to place the stack and how to refer to it from within web pages. Suppose I have a simple

Re: Using Stacks With LiveCode Server

2012-08-28 Thread Andre Garzia
before that try to output: put the stacksInUse to make sure your stack is there. On Tue, Aug 28, 2012 at 5:54 PM, Gregory Lypny gregory.ly...@videotron.cawrote: Hello everyone, I've got LiveCode server up and running on my Mac (OS X Mountain Lion). I'd like to be able to store a bunch of

Re: Using Stacks With LiveCode Server

2012-08-28 Thread Phil Davis
Hi Gregory, Try using the full path to the stackfile in your start using statement. That should work. Like so: start using /Users/me/Documents/mystackfile.livecode Best - Phil Davis On 8/28/12 1:54 PM, Gregory Lypny wrote: Hello everyone, I've got LiveCode server up and running on

Re: libURLDownLoadToFile

2012-08-28 Thread Andre Garzia
Pete, A previous transfer from the same host may have failed. Use a timeout to issue a resetall and blow all the sockets to no mans land and try again. Cheers andre On Tue, Aug 28, 2012 at 5:01 PM, Peter Haworth p...@lcsql.com wrote: Having a problem with this command. The url of the file

Re: libURLDownLoadToFile

2012-08-28 Thread Peter Haworth
Thanks Andre, I'll give that a try. Right before the download I mentioned, there is another download which worked OK but maybe resetting evrything after the initial download will help. Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 3:16 PM, Andre Garzia an...@andregarzia.com

Re: Using Stacks With LiveCode Server

2012-08-28 Thread Mike Bonner
And don't forget you can't use 5.5 version stacks with lc server so any stacks you use must be saved in legacy format or lc server can't load them. (file, save as, choose file type at the bottom of the window, 2.7) On Tue, Aug 28, 2012 at 3:21 PM, Phil Davis rev...@pdslabs.net wrote: Hi

Re: Resizing a Text Field

2012-08-28 Thread Dr. Hawkins
On Mon, Aug 27, 2012 at 10:11 PM, Peter Bogdanoff bogdan...@me.com wrote: Does anyone have a quick and dirty script for resizing a field to fit text content? I do this differently than the other answers, and only for the height. I stick what needs to be in the field in it, then put the top

Re: Problem resizing a stack

2012-08-28 Thread Dr. Hawkins
On Tue, Aug 28, 2012 at 9:39 AM, Peter Haworth p...@lcsql.com wrote: I noticed that putting breakpoint commands in my preOpenCard script was not having any effect, depending on where I put them. I frequently find it necessary in preOpenStack to answer About to break with ok breakpoint if

Re: Problem resizing a stack

2012-08-28 Thread Peter Haworth
It's kinda like driving in Shanghai - red lights are just a suggestion. Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 6:56 PM, Dr. Hawkins doch...@gmail.com wrote: Why the debugger finds breakpoint to be a mere suggestion rather than an imperative is beyond me . . .

Re: Problem resizing a stack

2012-08-28 Thread Jerry Jensen
Or in LA, where a red light means only 3 more cars get to go. .Jerry On Aug 28, 2012, at 7:47 PM, Peter Haworth wrote: It's kinda like driving in Shanghai - red lights are just a suggestion. Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 6:56 PM, Dr. Hawkins

Re: Problem resizing a stack

2012-08-28 Thread J. Landman Gay
On 8/28/12 8:56 PM, Dr. Hawkins wrote: Why the debugger finds breakpoint to be a mere suggestion rather than an imperative is beyond me . . . Breaks are ignored if the IDE is executing one of its own scripts. Any time it needs to take a tangent into one of its own libraries, breakpoints

Re: Problem resizing a stack

2012-08-28 Thread Dr. Hawkins
On Tue, Aug 28, 2012 at 7:58 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Breaks are ignored if the IDE is executing one of its own scripts. Any time it needs to take a tangent into one of its own libraries, breakpoints turn off. I understand that, and it makes sense. But when I have a

Re: Problem resizing a stack

2012-08-28 Thread J. Landman Gay
On 8/28/12 10:22 PM, Dr. Hawkins wrote: On Tue, Aug 28, 2012 at 7:58 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Breaks are ignored if the IDE is executing one of its own scripts. Any time it needs to take a tangent into one of its own libraries, breakpoints turn off. I understand

Re: Problem resizing a stack

2012-08-28 Thread Peter Haworth
That explains a lot! So any of the library calls (like the database or libURL libraries) would result in this behavior? Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 7:58 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 8/28/12 8:56 PM, Dr. Hawkins wrote: Why the