Color a graphic on a datagrid

2018-03-02 Thread Ludovic THEBAULT via use-livecode
Hello, I want to do something similar to http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table but i want to « automatically » change the color of a graphic (in col 1) in a row only when there is some data in this row (in col 10). I can't get the value

Re: Color a graphic on a datagrid

2018-03-02 Thread Ludovic THEBAULT via use-livecode
> Le 2 mars 2018 à 17:24, Ludovic THEBAULT via use-livecode > a écrit : > > Hello, > > I want to do something similar to > http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table > > but i want to « automatically » change

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
Bob of course you’re right - in my particular case, anyway, I just want to know if I can access me chosen server or not. But one could certainly imagine programs that would want to know if they were wasting their time offering their users a broader internet access - I mean any program that

Re: Stupid Question re LC9

2018-03-02 Thread Tom Glod via use-livecode
Hi Will... I don't know the answer to your question, but I did click on your web link ...(i enjoy learning about companies that use livecode)...and your site seems to not be there at all. just an fyi,. On Fri, Mar 2, 2018 at 4:01 PM, William Prothero via use-livecode <

Re: Stupid Question re LC9

2018-03-02 Thread William Prothero via use-livecode
Thought I had it, using: "set the rect of window "revNewScriptEditor 1" to 100,100,200,200 in the message box, but none of the variables and their values show up. Is there a control key command to toggle back to the normal display? Bill > On Mar 2, 2018, at 1:01 PM, William Prothero via

RE: Internet checking?

2018-03-02 Thread Ralph DiMola via use-livecode
If the FQDN's IP is cached you will get timeouts when there is no network connection. A DNS cache entry is valid until TTL is exceeded. If the DNS cache entry is stale or not cached then you will get "unknown host" when there is no network connection. I check the network availability in my

Re: How to include files in an iOS-App?

2018-03-02 Thread J. Landman Gay via use-livecode
On 3/1/18 1:02 PM, Ralph DiMola via use-livecode wrote: "The engine folder" is where you find the files in the Copy Files pane and is read-only. Apple now restricts the iOS engine folder to executable code only. You can still use that path but LC will silently redirect to

Stupid Question re LC9

2018-03-02 Thread William Prothero via use-livecode
Folks: I’ve been away from Livecode for the past 4 months and am doing a very small project in the latest LC9 DP11 and when I put in a breakpoint, when it activates, I only get a list of the system handlers in the debug window. These things are usually at the bottom of the window, but it is way

Re: Color a graphic on a datagrid

2018-03-02 Thread Bob Sneidar via use-livecode
Not sure if Datagrid Helper can do this. Conditional formatting of a datagrid may only be possible with forms, not tables. Bob S > On Mar 2, 2018, at 10:05 , Ludovic THEBAULT via use-livecode > wrote: > >> Le 2 mars 2018 à 17:24, Ludovic THEBAULT via

Re: Internet checking?

2018-03-02 Thread Bob Sneidar via use-livecode
Yes, trying to figure out WHY the connection failed is trickier. I think you are right that Safari pings an IP (to exclude DNS problems) and then looks at the response. A ping that has no route will report something like Destination Unreachable as opposed to timeout. On my Apple terminal, if I

Re: Stupid Question re LC9

2018-03-02 Thread Paul Hibbert via use-livecode
In the messageBox try: set the rect of stack "revNewScriptEditor 1" to "100,100,800,600" then: set the loc button "Resizer" of stack "revNewScriptEditor 1" to (the width of card 1 of stack "revNewScriptEditor 1"/2),(the height of card 1 of stack "revNewScriptEditor 1" - 100) Beware of email

Re: Stupid Question re LC9

2018-03-02 Thread Tom Glod via use-livecode
the brain.filling.. things...in. Such a blessing and such a hazard. All the best Bill On Fri, Mar 2, 2018 at 4:31 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > OIC you are missing the variables pane. If the handle for getting it back > is gone, you may

Re: Stupid Question re LC9

2018-03-02 Thread William Prothero via use-livecode
Tom: Thanks for the “heads up”. Gaads, I’ve been using that mis-spelled link for longer than I remember. Anyway, here is the correct one: William A. Prothero http://earthlearningsolutions.org Bill > On Mar 2, 2018, at 1:10 PM, Tom Glod via use-livecode > wrote:

Re: Stupid Question re LC9

2018-03-02 Thread William Prothero via use-livecode
Bob: Yeah, I agree. I had a 4 mo vacation in the hospital because of a side effect of a biopsy. One of the “shxxx happens situations.” Fortunately I survived an am getting back into the swing of my life. Best, Bill > On Mar 2, 2018, at 1:52 PM, Tom Glod via use-livecode >

Re: Color a graphic on a datagrid

2018-03-02 Thread zryip theSlug via use-livecode
We have nothing helpful for accomplishing that in DGH. But having a look to the ColumnControlOfIndex function in the datagrid API could be helpful: http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api We have shared a stack demonstrating the usage of this function some years ago. I just

Re: Stupid Question re LC9

2018-03-02 Thread Bob Sneidar via use-livecode
OIC you are missing the variables pane. If the handle for getting it back is gone, you may have to qiot, delete your preferences and relaunch. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Stupid Question re LC9

2018-03-02 Thread Matthias Rebbe via use-livecode
Because it´s http://earthlearningsolutions.org Bill has a typo in his signature. Rebards, Matthias Matthias Rebbe Tel +49 5741 31 ‌https://matthiasrebbe.eu ‌ > Am 02.03.2018 um 22:10 schrieb Tom Glod via use-livecode >

Re: Stupid Question re LC9

2018-03-02 Thread Bob Sneidar via use-livecode
Try setting the loc to the screenloc. Bob S > On Mar 2, 2018, at 13:10 , William Prothero via use-livecode > wrote: > > Thought I had it, using: > "set the rect of window "revNewScriptEditor 1" to 100,100,200,200 > in the message box, but none of the variables

Re: Stupid Question re LC9

2018-03-02 Thread Peter Bogdanoff via use-livecode
Bill, I’m glad you’re OK! Peter Bogdanoff > On Mar 2, 2018, at 2:20 PM, William Prothero via use-livecode > wrote: > > Bob: > Yeah, I agree. I had a 4 mo vacation in the hospital because of a side > effect of a biopsy. One of the “shxxx happens situations.”

Re: Another server question (mixing node.js and LC)

2018-03-02 Thread jbv via use-livecode
Indeed, on sage the engine version is 7.1 I did a few quick tests last evening and things like "create btn" or "export snapshot" work. I need to do more tests, but so far it's a nice surprise. jbv On Thu, March 1, 2018 11:33 pm, Alex Tweedly via use-livecode wrote: > On 01/03/2018 18:48,

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
Rick, thanks for the reply. Well, sounds good, but as I have no idea of the range of happenings that could generate that error, I need a bit more information first! It’s odd how hard it is to find this stuff out. If it wasn’t for the nice little ‘LiveCode Error Lookup’ plug-in that’s been

Re: Android Studio how to create AVD?

2018-03-02 Thread bob--- via use-livecode
> > Once you've done that you can choose Tools > Android > AVD Manager and > create a device. You'll need to choose something with armeabi architecture, > not x86, when you create the device. Once it has booted up you should see > it in the target list. > Thanks for the clearing this up Ali.

LC server and fonts

2018-03-02 Thread jbv via use-livecode
Hello list How can I load ttf font files with LC server, at least version 7.1 available on my on-rev account ? Neither "revFontLoad" nor "start using font file" seem to work... And the list of available fonts returned by "the fontNames" is quite limited... Thanks in advance. jbv

Re: Internet checking?

2018-03-02 Thread Rick Harrison via use-livecode
Hi Graham, Why don’t you just check for the existence of "tsneterr: (7)”? Rick > On Mar 2, 2018, at 7:18 AM, Graham Samuel via use-livecode > wrote: > > 2. If I switch off my internet connection, I get the result “tsneterr: (7)”

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
Jacque, thanks. It seems like overkill to load up and initialise tsnet just to get a 20-byte text file. I’m really surprised there isn’t a foolproof way to find out if one’s device is connected to the internet or not. I am not good on internet functions, but don’t a huge number of apps in the

Re: Android Studio how to create AVD?

2018-03-02 Thread panagiotis merakos via use-livecode
Hi Bob, Just a suggestion, I personally find it easier to download an install just the Android SDK Tools, not Android Studio. The problem is that the newest versions of the Android SDK Tools don't work well with LC, because you can mainly run commands from the command line instead of having a UI

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
I wrote: > > Maybe I will write a tiny standalone that just talks to my server, and > experiment with switching off the internet connection to see what errors I > get. I just did that, but so far have only used it in the IDE. I found out two things: 1. Despite my not being particularly

Re: Factoring over Scaling (was: Another server question (mixing node.js and LC))

2018-03-02 Thread Bob Sneidar via use-livecode
The sum total of any scaling I have done is to finally get my company to adopt my application in it's workflow. :-) Bob S > On Mar 1, 2018, at 22:13 , Richard Gaskin via use-livecode > wrote: > > TL;DR: Relax about scaling, go cut some code. :) > > -- >

Re: Internet checking?

2018-03-02 Thread Bob Sneidar via use-livecode
Hi Graham. Whether or not you are connected to the internet isn't really the issue, is it? All that means is that you have a route to the WAN port of your edge router. I mean, the real issue is finding out if you can reach a particular server on a particular port using DNS, or else a given IP