Re: Gradients (was "Re: Table field")

2012-06-26 Thread Peter Haworth
Thanks Bernd. I think I'm finally beginning to understand at least some of the gradient parameters. I still can't figure out how to do this in the Inspector though but that's OK, the scripts from everyone work great. Pete lcSQL Software On Tue, Jun 26, 2012 at 2:07 PM, BN

Re: Standalone won't run

2012-06-26 Thread Peter Haworth
That is an interesting idea. I guess I'd be more inclined to update the child controls by sending a message to their template that would update all the controls of that tie, just becuase I think you'd probably want all the controls of a specific type to look the same for HI purposes. I guess you

Re: iOS features

2012-06-26 Thread Pierre Sahores
Hi, Le 26 juin 2012 à 21:33, Chip Thomas a écrit : > *Hello, > > We're investigating using LiveCode Mobile for our iOS and Android > development, and wanted to see if these functions were supported: > > 1) POST a string to an https: server and get a response Works fine > > 2) Offer decent per

Re: Standalone won't run

2012-06-26 Thread Peter M. Brigham
The templatexxx (eg, the templatebutton, the templatefield) governs the properties of newly created controls only. Changing a property of the template will not change anything in already-created controls. Nonetheless, setting the properties of the template before creating a new control is a goo

Re: Standalone won't run

2012-06-26 Thread Peter Haworth
You can do that now I believe. There are templates for every object. There's a keyword for each named "Templatexxx" where xxx is the type of object - card, button, field, etc. See the dictionary for details. Pete lcSQL Software On Tue, Jun 26, 2012 at 4:36 PM, Bob Sneida

Re: What happened to my message box?

2012-06-26 Thread Bob Sneidar
This happens with no stacks open or in memory and no plugins active? It sounds like there is something intercepting the enterKey or returnkey message and not passing it, perhaps in a frontscript. Bob On Jun 26, 2012, at 4:11 PM, Howard Bornstein wrote: > Unfortunately, it doesn't matter what

Re: Standalone won't run

2012-06-26 Thread Bob Sneidar
I was actually thinking it could be even more granular in that you could have any number of "template" objects for different things. Let's say you wanted labels to be one font and size and style, but the editable fields to be another, and buttons to be yet another. Wouldn't it be cool if you cou

Re: What happened to my message box?

2012-06-26 Thread stephen barncard
one can make one's own 'message box' while trying to get a handle on this... create a new stack make a field to hold the command(s) - name it "command" make a button named 'execute' with this script on mouseup get field "command" do it end mouseup add a 'try' structure and error reportin

Re: What happened to my message box?

2012-06-26 Thread stephen barncard
this is way off the wall and may not be related or work at all, but at one time there was this unlisted property called revmessageboxredirect, and it changed what is normally sent to the lower part of the message box ( like unrequited puts ) to another field in your stack. " *set* the revmessagebo

Re: What happened to my message box?

2012-06-26 Thread Howard Bornstein
Unfortunately, it doesn't matter what I put in the message box, since it never seems to act on the return key to execute the command. On Tue, Jun 26, 2012 at 4:00 PM, Bob Sneidar wrote: > Try typing breakpoint; > > You should be warned however that the message box is a strange beast, and > may n

Re: Standalone won't run

2012-06-26 Thread Peter Haworth
That is what happens. An object's properties are inherited from it's owner unless you specify a different value either in the inspector or by script. Controls are owned by a group or a card, a card is owned by a stack and a stack is owned by its main stack. Assuming I'm not totally offbase, that'

Re: What happened to my message box?

2012-06-26 Thread Bob Sneidar
Try typing breakpoint; You should be warned however that the message box is a strange beast, and may not behave as you expect, particularly with regard to execution contexts (if I remember right). Bob On Jun 26, 2012, at 3:48 PM, Howard Bornstein wrote: > Grrr. This bug is back and this tim

Re: What happened to my message box?

2012-06-26 Thread Howard Bornstein
Grrr. This bug is back and this time restarting my Mac didn't fix it. So I'm trying to trace what happens when I type anything into the message box. I've got the script for the message box itself open as well as the script for the message field. I've put breakpoints at the rawkeydown handler as w

Re: Standalone won't run

2012-06-26 Thread Bob Sneidar
Yeah it ain't pretty. I have taken to using a custom font that exists on both platforms, something from the web suite that is pretty much guaranteed to be there. Otherwise the use of a truetype font that can be distributed with the app would be another way to go. I just created a new stack, th

Re: Standalone won't run

2012-06-26 Thread Peter Haworth
What's inspiring the font change is that default Windows system font looks like crap in my application. Pete lcSQL Software On Tue, Jun 26, 2012 at 2:03 PM, Bob Sneidar wrote: > I agree. But then what is inspiring the font change? Is it just > availability, or does the f

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Peter Haworth
Great, Thanks Jan. I see it's ramp that determines how the colors are displayed. Finally beginning to uderstand this! What I'm aiming for is to allow the user to select the background color of the alternate lines in the table and I think I can do that by getting the gradient array and changing t

Re: Gradients (was "Re: Table field")

2012-06-26 Thread BNig
Pete, the ramp of the gradient has 4 positons. 1 at 0, 2 at .50001 and 1 at 1. the ramp is what you work on in the inspector. the first two define the first color and the other two the second color. By setting the color of the pair of the positions to the same color and making the middle posi

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Scott Rossi
Hi Pete: Use duplicate gradient stops in the ramp: 0.0,255,0,0 -- red 0% 0.5,255,0,0 -- red 50% 0.5,0,255,0 -- green 50%, same position as above 1.0,0,255,0 -- green 100% Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Haworth wrote: > Thanks

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Jan Schenkel
Sorry, it seems YahooMail mangled the spaces: here's the script again... ## on mouseUp    CreateTwoColorGraphic "Peter", "10,50,110,85", "255,0,0", "0,0,255"    answer"Created:"&& the result end mouseUp private command CreateTwoColorGraphic pName, pRectangle, pTopColor, pBottomColor    --> prepar

Re: Standalone won't run

2012-06-26 Thread Bob Sneidar
I agree. But then what is inspiring the font change? Is it just availability, or does the font not look good cross platform? If you HAVE to swap fonts, then an alternate card might be cleaner, but I guess there's more than one way to skin a cat. Bob On Jun 26, 2012, at 1:44 PM, Peter Haworth

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Jan Schenkel
Hi Peter, You can do it all from code if you like. Create a new stack, drop a button onto it, and set its script to: ## on mouseUp    CreateTwoColorGraphic "Peter", "10,50,110,85", "255,0,0", "0,0,255"    answer"Created:"&& theresult end mouseUp private command CreateTwoColorGraphic pName, pRec

Re: [ANN] mergExt $50 off conference special (for everyone)

2012-06-26 Thread Monte Goulding
Me too Thomas. I had hoped mergExt could fund my going over but unfortunately there's less interest from the community at the moment than I had expected. I'll definitely be there next year though because mergExt will just keep getting better and I know at some point people will recognize what I'

Re: Standalone won't run

2012-06-26 Thread Peter Haworth
Given that Livecode is supposed to be a cross platform development tool, I would hope I NEVER have to have different card layouts per platform ( except when crossing over from desktop to mobile of course). Pete lcSQL Software On Tue, Jun 26, 2012 at 1:02 PM, Bob Sneidar

Re: Gradients (was "Re: Table field")

2012-06-26 Thread Peter Haworth
Thanks Scott. As usual, a very useful learning tool. Here's what I can't figure out though. Your stack fades in the colors from top to bottom. How can I get the graphic to contain two separate colors, one that fills the top half of the graphic and another that fills in the bottom half, with no f

Re: Standalone won't run

2012-06-26 Thread Bob Sneidar
Maybe a better approach would be to have separate card layouts for the different OS'es? Bob On Jun 26, 2012, at 12:38 PM, Peter Haworth wrote: > I finally tracked this down by using good old fashioned answer dialogs as > suggested by Ken. > > In addition to being the first build I had done u

Re: Standalone won't run

2012-06-26 Thread Peter Haworth
I finally tracked this down by using good old fashioned answer dialogs as suggested by Ken. In addition to being the first build I had done under Lion, it was also the first build I had done with 5.5 and it seems that the problem was related to 5.5. At startup, I have a handler that goes through

Re: Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-06-26 Thread Ken Corey
Okay, here's a brute force approach for what I think you're asking about. Put this in the card script. You will need to deal with each special group you have like this. local ingroup on handleEnterGroup -- handle entering the group log "handleEnter" end handleEnterGroup on handleExitGr

iOS features

2012-06-26 Thread Chip Thomas
*Hello, We're investigating using LiveCode Mobile for our iOS and Android development, and wanted to see if these functions were supported: 1) POST a string to an https: server and get a response 2) Offer decent performance playing video files from an https server (along the lines of desktop Liv

Re: Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-06-26 Thread Dr. Hawkins
On Tue, Jun 26, 2012 at 10:13 AM, Mark Schonewille wrote: > If you want to run a script after the user clicks outside a field, use the > closeField and > exitField messages. The behavior, though, depends upon whether that exitField is going to the next field of the group, or clean out of the gr

Re: is evaluation order defined, and evaluation of conditionals"and" to "or

2012-06-26 Thread dunbarx
True. I was thinking only "true"/ -Original Message- From: Dr. Hawkins To: How to use LiveCode Sent: Tue, Jun 26, 2012 12:54 am Subject: Re: is evaluation order defined, and evaluation of conditionals"and" to "or On Monday, June 25, 2012, wrote: > > > "or" is a simpler case, as th

Re: Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-06-26 Thread Mark Schonewille
Richard, Like others, I'm not sure what you're looking for. If you want to run a script after the user clicks outside a field, use the closeField and exitField messages. You could also add a graphic to the group, behind all the controls of the group, and add a mouseUp handler to this graphic.

Re: is evaluation order defined, and evaluation of conditionals"and" to "or

2012-06-26 Thread Dr. Hawkins
On Tue, Jun 26, 2012 at 8:48 AM, Bob Sneidar wrote: > Foxpro was the same way. I think all modern languages work like that. Not all--modern Fortran explicitly does not guarantee such things--but that's part of a design to allow massive optimization for parallelism -- The Hawkins Law Firm Richa

Re: Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-06-26 Thread Mike Bonner
I'm not sure exactly what you're asking so i'm going to restate it as what I think you are asking. You have a group that pops up. When the click outside the group you want its termination script to run. Unfortunately, things don't work as expected when yo click a field outside the group. So, basi

Re: Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-06-26 Thread Peter M. Brigham
This sounds like a good time to use a separate stack that you open modally (or on a Mac, "sheet" it), requiring the user to act one way or another before moving on. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 26, 2012, at 11:54 AM, Dr. Hawkins wrote: > I

Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-06-26 Thread Dr. Hawkins
I have a group that pops up under certain circumstances to gather more fields and merge them for the target field. I have it's termination behavior working correctly--when it terminates The problem is that I can click into a field outside the group without triggering it, at which point it could k

Re: is evaluation order defined, and evaluation of conditionals

2012-06-26 Thread Bob Sneidar
Very good point Peter. That could be very useful to know. Bob On Jun 26, 2012, at 7:17 AM, Peter M. Brigham wrote: > It's also useful if you have a general handler that needs to screen out > certain types of objects, eg: > > on mousemove > if word 1 of the target = "field" and the locktext

Re: is evaluation order defined, and evaluation of conditionals"and" to "or

2012-06-26 Thread Bob Sneidar
Foxpro was the same way. I think all modern languages work like that. It allows the developer to prioritize statements in the order of least to greatest cost. For most things no one would notice the difference, but for some operations it may make a big difference. Bob On Jun 25, 2012, at 9:3

Re: [ANN] mergExt $50 off conference special (for everyone)

2012-06-26 Thread Thomas McGrath III
Monte, Wish you were here. I brought my Redpark Serial cabe hoping to test it out with you. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jun 24, 2012, at 9:17 PM, Monte Goulding wrote: > Hi Livecoders > > I can't make it to the conference this year so I thought I'd c

Re: is evaluation order defined, and evaluation of conditionals

2012-06-26 Thread Peter M. Brigham
It's also useful if you have a general handler that needs to screen out certain types of objects, eg: on mousemove if word 1 of the target = "field" and the locktext of the target then set the defaultcursor to hand else set the defaultcursor to empty end if end mouseup If th

Re: RunRevLive12 Conference - What timezone?

2012-06-26 Thread Colin Holgate
Here you go, I was right: http://www.runrevlive.com/schedule.html So, one hour from now until Kevin starts. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription prefer

Re: RunRevLive12 Conference - What timezone?

2012-06-26 Thread Colin Holgate
8:30am is when they let us down into the meeting rooms, so we can register. That's in one minute from now. I imagine the first session isn't until 9:30am. On Jun 26, 2012, at 3:12 AM, Matthias Rebbe wrote: > i just see that the first session of the conference starts at 8:30, but in > which t

Re: Arriving on Newark Airport on Monday, anyone arriving at the same time

2012-06-26 Thread Richmond
On 06/26/2012 12:12 PM, Dermot Doran wrote: I have to travel to the US in about two months time. I will check in to make sure you've cleared immigration. P.S. Please do not quote this email to any US immigration official. I'm sure there is a law against this kind of humor :-) 17 years ago th

Re: Arriving on Newark Airport on Monday, anyone arriving at the same time

2012-06-26 Thread Dermot Doran
I have to travel to the US in about two months time. I will check in to make sure you've cleared immigration. P.S. Please do not quote this email to any US immigration official. I'm sure there is a law against this kind of humor :-) On 23 June 2012 17:54, Andre Garzia wrote: > Hey Folks, > > T

Re: Arriving on Newark Airport on Monday, anyone arriving at the same time

2012-06-26 Thread Kay C Lan
Man, I'm on the road a couple of days, get diverted to JFK because of some 'crisis' - it's always a crisis with my company and it always 'you're the only one available to do it' - and just now I get a chance to down tools and crack open the laptop and check some emails and I discover some of the LC

Re: RunRevLive12 Conference - What timezone?

2012-06-26 Thread Peter W A Wood
The conference is being held in New Jersey which if I remember correctly is four hours behind UTC at this time of year. On 26 Jun 2012, at 15:12, Matthias Rebbe wrote: > Hi, > > i just see that the first session of the conference starts at 8:30, but in > which timezone? > > Does anyone know?

RunRevLive12 Conference - What timezone?

2012-06-26 Thread Matthias Rebbe
Hi, i just see that the first session of the conference starts at 8:30, but in which timezone? Does anyone know? Regards, Matthias ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage