Re: Modifying Drop-Down Menus on the fly

2016-02-09 Thread Eric Corbett
Set the text of the button to the list of menu items. Also look in the dictionary under menu for more drop down menu features. ​eric​ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: snapshot and animation capture

2016-01-27 Thread Eric Corbett
Nice Scott, The resize is super fast. the moveStack is slower than other moveStack scripts I have from you. Eric ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription p

Re: Sockets

2015-10-16 Thread Eric Corbett
each computer or the same? Maybe I’ll have my answer from a code audit. I’ll have to look back at the rev chat example again also, but I don’t remember this being helpful. Eric > On Oct 16, 2015, at 4:47 PM, Dr. Hawkins wrote: > > On Fri, Oct 16, 2015 at 1:44 PM, Eric Corbett

Sockets

2015-10-16 Thread Eric Corbett
I’ve read all the documentation and posts I can find and something still confuses me about sockets… Server computer accept connections on port 12345 with message “readSocket” Client opens socket IP:12345 Client writes to socket IP:12345 Server reads message from client: on readSocket p

Re: Release 8.0 DP 5

2015-09-23 Thread Eric Corbett
n what location? > > On Wed, Sep 23, 2015 at 4:31 PM Eric Corbett > wrote: > >> The release notes are mostly gibberish. Is it just me? >> >> >>> On Sep 23, 2015, at 7:25 AM, Ali Lloyd wrote: >>> >>> Dear list members, >>> >&g

Re: Release 8.0 DP 5

2015-09-23 Thread Eric Corbett
The release notes are mostly gibberish. Is it just me? > On Sep 23, 2015, at 7:25 AM, Ali Lloyd wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 8.0 DP 5. > > Warning: this is not a stable release. Please ensure you back up your > stacks before testing them

Re: Why is LC text blurred on a retina display?

2015-09-18 Thread Eric Corbett
Improving lineOffset performance would be great, but just as a reminder, fixing the lineOffset bug first would be ideal: http://quality.runrev.com/show_bug.cgi?id=15512 Eric > On Sep 18, 2015, at 2:38 PM, Richard Gaskin > wrote: > > Mark Wad

Re: Multiple Stacks on Mobile

2015-07-28 Thread Eric Corbett
Would it be helpful to use lock screen for visual effect in rect tRect? If the controls you want to leave are in a header for instance, tRect would be 0,bottom of ,width of cd,bottom of cd. -E On Jul 28, 2015, at 10:53 AM, Ray wrote: > Understood, but then I'm still left with how to use the b

Re: Open Socket With Messages

2015-07-06 Thread Eric Corbett
Did you accept connection on port aConnection["deport”]? I think it’s possible for the open socket to remain in the openSockets list until the connection times out. Grab message socketTimeout pSocketID to see if it’s timing out without connecting. Eric On Jul 6, 2015, at 12:36 PM, Bob Sneidar

Re: advice needed re uploading text & binary data from iOS app

2015-06-04 Thread Eric Corbett
t; announced date for production release? > E > > > > > > On Thu, Jun 4, 2015 at 8:29 AM -0700, "Eric Corbett" > wrote: > > > > > > > > > > > Hi Phil, > > Have you come across LiveCloud yet (livecloud.io)? Liv

Re: advice needed re uploading text & binary data from iOS app

2015-06-04 Thread Eric Corbett
Hi Phil, Have you come across LiveCloud yet (livecloud.io)? LiveCloud is a NoSQL database system designed for LiveCode. Currently LIveCloud is in beta release, but we use it extensively in-house for all our projects. You can sign up and use it for free. Just download the LiveCloud Manager (LCM)

Re: Naive question number 3374

2015-05-06 Thread Eric Corbett
yep, saw the first time and missed it after reading the docs and double checking. doh. On May 6, 2015, at 12:02 PM, Richmond wrote: > On 06/05/15 21:56, Eric Corbett wrote: >> Try lineSize > > If you had taken the trouble to read my e-mail right through you wouldn't

Re: Naive question number 3374

2015-05-06 Thread Eric Corbett
Try lineSize set the lineSize to 3 On May 6, 2015, at 11:25 AM, Richmond wrote: > On 06/05/15 15:42, BNig wrote: >> on mouseUp >>choose pencil tool >>drag from 10,10 to 100,100 >>choose browse tool >> end mouseUp > > Um; nothing special I'm afraid to say: drew the line. > > Curren

Re: fastes way to search an array?

2015-05-04 Thread Eric Corbett
Cool function Bob, I always love a good recursive handler. It might be broken when an array element contains more than one word. (Limited testing tho.) Eric On May 4, 2015, at 2:14 PM, Bob Sneidar wrote: > I wrote a couple functions that “flatten” an array into a string in such a > way that

Saving Objects

2015-03-12 Thread Eric Corbett
Any way to save an object or a group of objects without having to save the stack? I would like to create a group, save the group, then be able to add that group to a stack. I am currently: 1. Creating a group on a blank stack; 2. Saving the stack binary; 3. Downloading the stack binary when ne

Re: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-04 Thread Eric Corbett
Yes, THANK YOU Monte; mergExt with LiveCode makes so much possible for iOS. eric On Mar 4, 2015, at 9:39 AM, Ralph DiMola wrote: > I can't +1 this enough times. Monte's externals saved my butt BIG TIME one > night. Being a LC new-be at the time he showed me how to implement the > external tha

Re: LiveCode 7.0.3: a new meme

2015-02-26 Thread Eric Corbett
Richard, I’m wondering if the standalone engine size is a concern for anyone else. I have a standalone for iOS that is 3 times smaller when built with 6 over 7. I think I understand that the unicode dictionary is responsible, but until there is a way to selectively remove that, I would rather h

Re: 7.0 Issues

2015-02-19 Thread Eric Corbett
e new > parameter than having to use textEncode/Decode for other unicode operations. > > On Thu Feb 19 2015 at 1:03:05 PM Eric Corbett > wrote: > >> I think what you will have to do is this: >> >> Check the LC version; >> if it’s >= 7 then >> arrayEncode(

Re: 7.0 Issues

2015-02-19 Thread Eric Corbett
uessing that anything addressing char chunks or offset would need to be > changed. > > On Thu Feb 19 2015 at 12:31:24 PM Eric Corbett > wrote: > >> Not sure if this helps, but LiveCode 7 uses a different arrayEncoding than >> previous version due to Unicode. Check the d

Re: 7.0 Issues

2015-02-19 Thread Eric Corbett
een LC7 and prior versions? I'm > guessing that anything addressing char chunks or offset would need to be > changed. > > On Thu Feb 19 2015 at 12:31:24 PM Eric Corbett > wrote: > >> Not sure if this helps, but LiveCode 7 uses a different arrayEncoding than >>

Re: 7.0 Issues

2015-02-19 Thread Eric Corbett
Not sure if this helps, but LiveCode 7 uses a different arrayEncoding than previous version due to Unicode. Check the dictionary on how to use arrayEncode in 7 to be able to decode in an earlier version. Eric On Feb 19, 2015, at 12:16 PM, Peter Haworth wrote: > I've been careful to create

Re: Go back no longer works

2015-02-17 Thread Eric Corbett
Try: on openStack go card 2 go back 1 end openCard Eric On Feb 17, 2015, at 4:25 PM, Bob Sneidar wrote: > Something very odd has happened to my Livecode Install. The command Go Back > no longer works. Was working up until about a half hour ago. To test it I > created a new stack with two car

Re: Deleting cards from within themselves.

2015-02-16 Thread Eric Corbett
use send "mouseUp" to btn "DELL" of card “INPUTTER” in 1 milliseconds in the first mouseU On Feb 16, 2015, at 12:02 PM, Richmond wrote: > On 16/02/15 21:54, Roger Eller wrote: >> try this: >> >> click at the loc of btn "DELL" of card "INPUTTER" >> >> ~Roger > > Thanks, but no joy: because

Re: Self Awareness?

2015-02-11 Thread Eric Corbett
Try newBackground, newButton, new…, etc. Eric On Feb 11, 2015, at 11:06 AM, Scott Rossi wrote: > Does a control receive any message when it is pasted onto a card? > > I¹m trying to figure out a way for a control (usually a group) to > initialize some of its properties upon being pasted. Thing

Re: stackfileversion and locking 6.5.2

2015-01-30 Thread Eric Corbett
I had to do this as well. In the end it was a group that had two fields in it. I assumed it was a field property that I either could not find or could not change and submitted a bug report. Since my problem was present in 6.7. or 7, nothing was investigated. e On Jan 30, 2015, at 7:27 AM, Geof

Re: changing layer within a group by script/ speed of "start editing"

2015-01-25 Thread Eric Corbett
Try using the relayer command; relayer grc 1 of grp x after grc 2 of grp x You don't need to start editing with relayer, but you need to be careful not to relayer an object to outside the group. HTH Eric > On Jan 25, 2015, at 17:19, Dr. Hawkins wrote: > > I have a group with four overlapp

Re: Possible insanity, or is it LC 7.0.1?

2015-01-14 Thread Eric Corbett
Try on the multi-line option in the message box: put (1.884956 is a number) into tIsNum put tIsNum On Jan 14, 2015, at 12:03 PM, Graham Samuel wrote: > Using LC 7.0.1 on Yosemite 1010.1, when I type this into the message box > > put (1.884955 is a number) > > I get true, as expected, but if

Re: Fields Have Labels

2015-01-11 Thread Eric Corbett
How about a ghostText property. An array style property for a data entry field. All the text properties + onEntry dim or hide; or onEmpty dim or hide; dimColor or dimBlendLevel. Or not an array at all, but labelFont, labelTextSize, labelAlign... It would be nice to not have to require a custom

Re: mobile input field

2015-01-07 Thread Eric Corbett
to and selected by clicking on them, > kind of like making your own keypad control. > > So the answer to your question is most probably no. > > Cheers and good luck! > > Rick > > >> On Jan 7, 2015, at 6:18 PM, Eric Corbett wrote: >> >> Howdy, &g

mobile input field

2015-01-07 Thread Eric Corbett
Howdy, Any was to restrict input to numbers only without using the numbers keyboard or replacing non numeric numbers after the fact for a mobile input control? Thanks, - Eric ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

iconGravity

2015-01-05 Thread Eric Corbett
Cool new button property I discovered finally (new to me anyway). Any way to set the iconGravity to left, the textAlign to left and have the label start next to the icon without having to add spaces in front of the label? Thanks, - Eric ___ use-live

Re: Delete this card command not working in LIvecode 5.5.3

2014-12-31 Thread Eric Corbett
You can not delete a control whose script is still running. Try in the button: on mouseUp local tID put the long I'd of this card into tID send "deleteMe tID" to me in 1 milliseconds end mouseUp Then put the deleteMe handler in the stack. - e > On Dec 31, 2014, at 07:36, "stgo

Re: Code 2014 - Vote for LiveCode

2014-12-30 Thread Eric Corbett
I started a twitter account just to vote, but can’t get it to work. My tweet is not going through and private is not on. - Eric On Dec 30, 2014, at 4:32 PM, Bob Sneidar wrote: > Unfortunately I do not tweet. Or twitter for that matter. Although I *have* > been called a twit on an indeterminat

Re: lcext for iOS

2014-12-29 Thread Eric Corbett
ally linked into the engine executable during the build. > >> On 30 Dec 2014, at 10:26 am, Eric Corbett wrote: >> >> I am trying to include a mergSocket.lcext file with my iOS build, but the >> standalone builder refuses to include it. There are no errors, just no file &

lcext for iOS

2014-12-29 Thread Eric Corbett
I am trying to include a mergSocket.lcext file with my iOS build, but the standalone builder refuses to include it. There are no errors, just no file in the bundle. I am using LC 7.0.1 on OSX 10.9 using SDK 8.1. I am selecting copy file directly, not copy folder. The file is located in a folde

Re: Sockets

2014-12-23 Thread Eric Corbett
Bug reported: 14287 - e On Dec 22, 2014, at 10:32 PM, Peter W A Wood wrote: > When opening when starting a socket, I see the problem. This is the port > number that was displayed "12345ر” > > Regards > > Peter > >> On 23 Dec 2014, at 11:54, Eric Cor

Re: Sockets

2014-12-22 Thread Eric Corbett
> >>> My test had three buttons: open, list, close and one field: Report. >>> >>> The three button scripts were: >>> >>> open - open socket to "127.0.0.1:80" >>> >>> close - close socket "127.0.0.1:80&quo

Re: Sockets

2014-12-22 Thread Eric Corbett
"127.0.0.1:80" > >close - close socket "127.0.0.1:80" > >list - put the openSockets into Field "Report" > > It worked as expected. > > Regards > > Peter > >> On 23 Dec 2014, at 09:04, Eric Corbett wrote: >> &

Sockets

2014-12-22 Thread Eric Corbett
Hello all, I’m using LiveCode 7.0.1. I have a port open and when I get the openSockets list, the port has an extra character on the end like an ‘å’ or a double quote. I check to see if the port is in the openSocket list so I don’t try to accept connections again, but if I have wholeMatches set

Re: Vertically aligning text in a field

2014-12-19 Thread Eric Corbett
This is great! Just change text to formattedText for this line: > put the number of lines of the text of myFld into tNoOfLines See below - Eric On Dec 19, 2014, at 9:32 AM, BNig wrote: > here is a definitive (as opposed to infinitive) calculation that correctly > sets the positon of text ver

Re: 7.0.1-RC4 crashing regularly

2014-12-16 Thread Eric Corbett
My issue caused LC to crash with every cmd-s. A Crash Log opened, the stack was saved, but corrupt, and the original was backed up using [file name].livecode~ - e On Dec 16, 2014, at 3:46 PM, Dr. Hawkins wrote: > On Tue, Dec 16, 2014 at 3:14 PM, Dr. Hawkins wrote: >> >> I added a crash log

Re: 7.0.1-RC4 crashing regularly

2014-12-16 Thread Eric Corbett
One of my stacks was crashing on save in 7.0.1 (rc 4). I deleted everything I could including script up to the point that it would not crash anymore and will send it to LC. Submitted bug 14239 with a crash log. Trevore also submitted a bug 14227 with a crash log. - eric On Dec 16, 2014, at 2

Re: Disabling effective innerShadow

2014-12-11 Thread Eric Corbett
paque made the group look weird (sorry, hard to explain). > > Pete > lcSQL Software <http://www.lcsql.com> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> > > On Wed, Dec 10, 2014 at 3

Re: Disabling effective innerShadow

2014-12-10 Thread Eric Corbett
Pete, Try setting the opaque property of the parent group to true. - Eric On Dec 10, 2014, at 2:40 PM, Peter Haworth wrote: > I have a group that has its innerShadow property set. Within it are two > rectangles that do not have their innerShadow property set but I can see an > innerShadow on

Re: Best Strategies for Duplicating Object

2014-12-01 Thread Eric Corbett
Try setting the name, not the short name. I often use templates and copy or clone them. I use template... to create groups usually. - eric On Dec 1, 2014, at 2:57 PM, Brahmanathaswami wrote: > I have a little widget I'm creating to help with internal discussion about > web site development.

Re: Request for feedback

2014-12-01 Thread Eric Corbett
irst, then your textHeight and then set the textShift to > something like -20 (+ or - a bit) ­ i.e. (set the textShift of char 1 to > -1 of fld x to y ­ and you should be almost there. > > Terry... > >> On 1/12/2014 1:05 pm, "Eric Corbett" wrote: >> >

Re: Request for feedback

2014-11-30 Thread Eric Corbett
I too would like to see some added field capabilities. What I want is a textSize of 17, a fixedLineHeight at 52, horizontal lines, and the text centered between the top and bottom lines. Is there a way to do this that I am not finding through extensive research? I don't want a custom control, I

Re: [OT] baby

2014-11-27 Thread Eric Corbett
Congrats Monte and Rebecca. Best wishes. - eric > On Nov 27, 2014, at 12:14, Monte Goulding wrote: > > Hi Folks > > We just had a baby so I won't be able to get to mergExt related questions for > a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few > breathing issues

Re: ANN:Another app made with LiveCode has been approved by Apple!

2014-11-20 Thread Eric Corbett
Thanks Tom, Glad you had a chance to download the software. Both apps were built using version 6.1.3. The desktop app is actually the master. The iPad app is simply a remote control, telling the eye chart what to draw. Then the eye chart sends the data to the iPad so the remote can display th

Re: Find the scroll location in wrapped field

2014-11-18 Thread Eric Corbett
I knew you could select the line number, but I did not know starting at the end would provide the best results. This will be helpful, thanks. One method I have used in the past is to put the htmlText of the field into a variable, then put line 1 to (the line to scroll to) into the field (or dele

Re: Export Snapshot

2014-10-28 Thread Eric Corbett
Hi Peter, Try resetting the templateImage before the export. - eric On Oct 28, 2014, at 11:00 AM, Peter Haworth wrote: > I'm noticing that if I export a snapshot from a group as PNG, the resulting > image has a black background, not the background of the group. Small > sample size, just 2 gro

Re: Usng an image to "disable" a group

2014-09-21 Thread Eric Corbett
Hi Peter, I guess I assumed when you said you were using an image to block controls that the image was of the group. Can you take a snapshot of the group and then use that image as the disabled looking "group" by blending it and hide the real group? On Sep 20, 2014, at 9:20 AM, Peter Haworth

Re: mobile focus

2014-08-31 Thread Eric Corbett
anually. > > > On Sat, Aug 30, 2014 at 10:18 AM, Mike Kerner > wrote: > >> mobilecontroltarget doesn't tell me what mobile field has the focus right >> now, it tells me what I just clicked on, which is not the field with the >> focus. >>

Re: mobile focus

2014-08-29 Thread Eric Corbett
PM, Gerry wrote: > iPhoneControlTarget() > > Gerry > > On 30 August 2014 13:26, Eric Corbett wrote: >> Hi Mike, >> >> In my limited use of the native field on mobile, I have come across some key >> features. >> >> First, when you create the

Re: mobile focus

2014-08-29 Thread Eric Corbett
Hi Mike, In my limited use of the native field on mobile, I have come across some key features. First, when you create the field, I would recommend creating each one in a separate control, like a desktop field to be used as a place holder. Here's the reason: inputBeginEditing inputTextChanged

mobilePickPhoto

2014-08-14 Thread Eric Corbett
I’m on 6.6.2, building for iOS 7.1 or later and running on an iPhone 4s & above. After clicking on a photo when using mobilePickPhoto, the phone takes forever to return to the application. (it’s only 5 to 10 seconds average but that’s too long, don’t you think?) Even if we do nothing with the