Data Grid graphics & buttons

2015-03-07 Thread JB
Is there a way to set a graphic or button in a data grid table column using a script? So if I want line 12 of column name to be a graphic can I change the behavior like I can with Haken’s script that modifies the number format and instead of displaying a different value for the number display eith

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 4:01 PM, Mike Bonner wrote: > Ah k. Glad you found it. I had just wondered if the xp machine was slow > enough to cause problems with the preopen, but as you say, when its called > from a substack of the main, thats not the issue. > Now if I can only find a workaround .

Re: RunRev 2015

2015-03-07 Thread J. Landman Gay
On March 7, 2015 5:46:12 PM CST, stephen barncard wrote: >I just looked at my photos from Revcon 2 - Monterey 2005. Wow. We're all so >YOUNG! And so few! I don't look like that any more. On the other hand, Kevin still does. I keep waiting for him to catch up. -- Jacqueline Landman Gay

Re: Text Field in LC 7

2015-03-07 Thread Jerry Jensen
On Mar 7, 2015, at 3:28 PM, Peter Haworth wrote: > > I too got scared off the Geometry Manager from posts on this list and > rolled my own. Me too. > I'm a big fan of modTableField but I must admit I've never resized one, > except when first setting it up. I wonder if there's more going on tha

Re: Auto scrollbars in DataGrid

2015-03-07 Thread dunbarx
Hi. I have always found that if you resize in either direction beyond where a scrollbar is needed at all, the scrollbars disappear, regardless of the state of the "true/false/auto" condition. That is what you want, correct? Someone else will have to chime in on how to make a scrollbar stick even

R: RunRev 2015

2015-03-07 Thread Fabio Goglia
- Messaggio originale - Da: "Phil Davis" Inviato: ‎07/‎03/‎2015 21:32 A: "How to use LiveCode" Oggetto: Re: RunRev 2015 Hi Tom, It's sort of like the difference between watching a social gathering on TV vs. being there. For me it's largely about relationships and people - of whom yo

RE: iOS simulator and iOS 8 [Was sqlite and iOS 8]

2015-03-07 Thread Ralph DiMola
The simulator just locks up and never start the app. I get the "The simulator seems to be taking a long time to start" Click continue and you get "Unable to start simulation". If you try it one or 2 more times the app will start up. At this point it's just quicker to use the device. OSX 10.9.5 LC 6

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Mike Bonner
Ah k. Glad you found it. I had just wondered if the xp machine was slow enough to cause problems with the preopen, but as you say, when its called from a substack of the main, thats not the issue. On Sat, Mar 7, 2015 at 4:10 PM, Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 2:16 PM, Mike Bonner

Re: iOS simulator and iOS 8 [Was sqlite and iOS 8]

2015-03-07 Thread Mike Kerner
so what issues are you having with the simulator? I'm having nothing that I notice. On Sat, Mar 7, 2015 at 2:41 PM, Ralph DiMola wrote: > >Dave Kilroy Wrote: > >However for me the iOS simulator has recently been almost useless and I > test directly on the device. > > Me Too. I saw there was som

Re: RunRev 2015

2015-03-07 Thread stephen barncard
On Sat, Mar 7, 2015 at 1:56 PM, Richard Gaskin wrote: > It is so great to hang out with like-minded people, I never have as much I just looked at my photos from Revcon 2 - Monterey 2005. Wow. We're all so YOUNG! And so few! I had just started my work with Jerry and Mike. It was a great time. I

Re: Text Field in LC 7

2015-03-07 Thread Peter Haworth
I too got scared off the Geometry Manager from posts on this list and rolled my own. I'm a big fan of modTableField but I must admit I've never resized one, except when first setting it up. I wonder if there's more going on than with a normal resize, for example, widening columns as well as the t

Re: Text Field in LC 7

2015-03-07 Thread Peter Haworth
Thanks Richard, didn;t know it was deprecated. On Sat, Mar 7, 2015 at 12:57 PM Richard Gaskin wrote: > Peter Haworth wrote: > > > On Sat, Mar 7, 2015 at 11:40 AM J. Landman Gay wrote: > >> > >> Wouldn't this be related to the liveResizing property? > > > > Right, that was mu first thought.

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 2:16 PM, Mike Bonner wrote: > If you move the code that causes the problem, from preopenstack to > openstack, (or even opencard) does it start to work? > If so, your preopenstack handler is trying to do things that require > libraries that are not yet available. > The preP

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Mike Bonner
If you move the code that causes the problem, from preopenstack to openstack, (or even opencard) does it start to work? If so, your preopenstack handler is trying to do things that require libraries that are not yet available. On Sat, Mar 7, 2015 at 2:09 PM, Dr. Hawkins wrote: > On Sat, Mar 7, 2

Re: Text Field in LC 7

2015-03-07 Thread Terence Heaford
I previously advised that I first noticed the performance hit in modTableField during testing for Bernd and have advised Bernd of my findings. He has replied with this email and I also have listed my reply: — > On 7 Mar 2015, at 16:35, Niggemann, Bernd wrote: > > here is a modTable

Re: RunRev 2015

2015-03-07 Thread Richard Gaskin
J. Landman Gay wrote: It is so great to hang out with like-minded people, I never have as much fun as I do there. You just can't have conversations like those with anyone else, your other friends will look at you like you're nuts. +1 The only thing I could add is that in addition to finally m

Re: RunRev 2015

2015-03-07 Thread J. Landman Gay
On 3/7/2015 2:33 PM, Mark Wieder wrote: Yeah. I would almost say don't bother going to the conference itself, just book a hotel room and hang out after hours. The f2f time with people is what draws me, and I've never been disappointed. I miss half the talks anyway because I get sidetracked i

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 12:45 PM, Peter Haworth wrote: > I see. Is there any error message displayed by the error handler? > It gives the line number of the stack, and name of the file. Naturally, in an "OK" window that doesn't allow copying the text . . An error occurred on line: 89 219,89,8 r

Re: Beyond PowerStatus: Concurrency options

2015-03-07 Thread Richard Gaskin
Nicely done, Mike. Using Apache for this is a good solution - it's already set up to herd workers in a way with CGI, and it handles the forking so we don't have to. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web _

Re: Text Field in LC 7

2015-03-07 Thread Richard Gaskin
Peter Haworth wrote: > On Sat, Mar 7, 2015 at 11:40 AM J. Landman Gay wrote: >> >> Wouldn't this be related to the liveResizing property? > > Right, that was mu first thought. But I think liveresizing stops all > controls from changing size until the resize ends whereas I think the > idea here i

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Peter Haworth
I see. Is there any error message displayed by the error handler? On Sat, Mar 7, 2015 at 12:41 PM Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 12:04 PM, Peter Haworth wrote: > > > So what ends up in PrefsDB? Not sure what you mean by "causes an error > > rather than returning an error code". >

RE: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Ralph DiMola
Richard- Saturday, March 7, 2015, 8:41:00 AM, you wrote: > "it" has made me nervous since HyperCard 1.0 . . . clever, but seems to > be looking for a way to blow off my foot . . . Same here. And "the result" makes me nervous as well. -- Ralph DiMola IT Director Evergreen Information Services

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 12:04 PM, Peter Haworth wrote: > So what ends up in PrefsDB? Not sure what you mean by "causes an error > rather than returning an error code". > Nothing; the line is never reached. It's an execution error, goes to the execution error handler, and stops dead. > > Don't

Re: RunRev 2015

2015-03-07 Thread Mark Wieder
Skip- Saturday, March 7, 2015, 5:44:25 AM, you wrote: > Throwing this out there... Any info on this years conference? It > would be great to be able to plan for this. I sent an email to Jo a few days ago about this. No response yet. -- -Mark Wieder ahsoftw...@gmail.com This communication

Re: RunRev 2015

2015-03-07 Thread Mark Wieder
Jacque- Saturday, March 7, 2015, 11:55:07 AM, you wrote: > On 3/7/2015 12:58 PM, tbodine wrote: >> I've attended the conf. via online connection several times, but never in >> person. What do you consider to be gained by "being there" vs "seeing >> there"? > Networking. Meeting everyone. After-h

Re: RunRev 2015

2015-03-07 Thread Phil Davis
Hi Tom, It's sort of like the difference between watching a social gathering on TV vs. being there. For me it's largely about relationships and people - of whom you are one! It's exhilarating to interact with so many who know and use LC. I like to meet the folks on this list and put faces to

Re: MasterLibrary Naming

2015-03-07 Thread Mark Wieder
Jacque- Saturday, March 7, 2015, 11:50:47 AM, you wrote: Agreed (yes, don't care). I have a slight preference for removing the "get" prefix because, like Jacque, I use "put" with the functions to place the value into a variable. In that case put getXXX() into tVar looks bizarre to me. But it wo

Re: RunRev 2015

2015-03-07 Thread Mike Doub
I went to the Ocean City conference. The sessions were good but the real fun parts are at breaks and in the envenings. It was great to be able to meet the folks that were just familiar email addresses on this list. Put faces to email addresses so to speak. I also had some great discussions with

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Mark Wieder
Richard- Saturday, March 7, 2015, 8:42:28 AM, you wrote: > And Michael, another tempting opportunity for spending $ on a Linux > laptop is the latest from Barton's team, Dell's top-of-the-line > Precision M3800 portable workstation, with Ubuntu installed and ready to > go, weighing in at a surpr

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Mark Wieder
Michael- Saturday, March 7, 2015, 5:37:18 AM, you wrote: > I originally did this because I thought it would avoid name space > collisions. I thought that I would receive feedback if folks thought > it was a bad idea. As you can see, it is extra work and it is easy for > me to make a mistake.

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Mark Wieder
Richard- Saturday, March 7, 2015, 8:41:00 AM, you wrote: > "it" has made me nervous since HyperCard 1.0 . . . clever, but seems to > be looking for a way to blow off my foot . . . Same here. And "me" makes me nervous as well. -- -Mark Wieder ahsoftw...@gmail.com This communication may be u

RE: RunRev 2015

2015-03-07 Thread Ralph DiMola
On 3/7/2015 12:58 PM, tbodine wrote: > I've attended the conf. via online connection several times, but never > in person. What do you consider to be gained by "being there" vs > "seeing there"? A boat load(literally sometimes) of geeks and geek partners. One-on-one access to LC engineers has he

Re: Valuable tip re. v7's Save As

2015-03-07 Thread Peter Haworth
Yes! I've always thought it weird that Save As leaves you in the "saved as" file not the original. On Sat, Mar 7, 2015 at 12:02 PM J. Landman Gay wrote: > On 3/7/2015 12:36 PM, Dr. Hawkins wrote: > > On Sat, Mar 7, 2015 at 9:52 AM, Richard Gaskin < > ambassa...@fourthworld.com> > > wrote: > > >

Re: Can't open sqlite disk file in XP standalone

2015-03-07 Thread Peter Haworth
So what ends up in PrefsDB? Not sure what you mean by "causes an error rather than returning an error code". Don't know if this might help, but I always check the db file exists (if there is a file PrefsFilNam) before opening any sqlite database, just too error prone without doing that. On Sat,

Re: Valuable tip re. v7's Save As

2015-03-07 Thread J. Landman Gay
On 3/7/2015 12:36 PM, Dr. Hawkins wrote: On Sat, Mar 7, 2015 at 9:52 AM, Richard Gaskin wrote: I recently learned that the Save As option in v7 is even smarter than I'd thought: OTOH, I'm fitting it this morning. I'm using an old XP laptop while my powerbook dries out (grr!), but after sav

RE: Valuable tip re. v7's Save As

2015-03-07 Thread Ralph DiMola
Richard, Could one just put this into the openstack handler? set the cREVGeneral["stackFileVersion"] of this stack to "5.5" Any "save"/"save as" should save to 5.5 format without any special handling in any LC version? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreenin

Re: Text Field in LC 7

2015-03-07 Thread Peter Haworth
Right, that was mu first thought. But I think liveresizing stops all controls from changing size until the resize ends whereas I think the idea here is to still resize the control itself but not apply line wrapping within the control until after the resize finishes. On Sat, Mar 7, 2015 at 11:40 A

Re: Valuable tip re. v7's Save As

2015-03-07 Thread J. Landman Gay
On 3/7/2015 1:43 PM, J. Landman Gay wrote: On 3/7/2015 11:52 AM, Richard Gaskin wrote: the IDE's Save As goes further, setting a cREVGeneral["stackFileVersion"] custom property in your stack, so that all subsequent saves by the IDE in v7 will save in whatever format you last specified in the Sav

Re: RunRev 2015

2015-03-07 Thread J. Landman Gay
On 3/7/2015 12:58 PM, tbodine wrote: I've attended the conf. via online connection several times, but never in person. What do you consider to be gained by "being there" vs "seeing there"? Networking. Meeting everyone. After-hours gatherings. Linkages. Parties. -- Jacqueline Landman Gay

Re: MasterLibrary Naming

2015-03-07 Thread J. Landman Gay
On 3/7/2015 12:06 PM, Michael Doub wrote: 1) should I remove the double underscores from the function and handlers names? Yes. I find it distracting and hard to type. 2) should I remove the "get" from function names? Not particularly. I do the same thing all the time. Almost all my stacks

Re: Valuable tip re. v7's Save As

2015-03-07 Thread J. Landman Gay
On 3/7/2015 11:52 AM, Richard Gaskin wrote: the IDE's Save As goes further, setting a cREVGeneral["stackFileVersion"] custom property in your stack, so that all subsequent saves by the IDE in v7 will save in whatever format you last specified in the Save As dialog. But only if you have turned o

Can't open sqlite disk file in XP standalone

2015-03-07 Thread Dr. Hawkins
I'm in odd waters at the moment, on XP (which is left over on a FreeBSD laptop; I've never actually owned a windows machine, ever . . .) Anyway, this application has compiled and run as a mac standalone for years, and as a windows standalone compiled mac-side at some point in the past. I have a t

Re: Text Field in LC 7

2015-03-07 Thread J. Landman Gay
On 3/7/2015 11:05 AM, Peter Haworth wrote: I should also say that I'm not seeing the line wrapping delay in TextEdit. I'm on Yosemite and when I resize a TextEdit window horizontally, I see the line wrapping changing as the resize is happening not when I stop resizing. Maybe there's a Preference

iOS simulator and iOS 8 [Was sqlite and iOS 8]

2015-03-07 Thread Ralph DiMola
>Dave Kilroy Wrote: >However for me the iOS simulator has recently been almost useless and I test directly on the device. Me Too. I saw there was some fiddling that you could do to make it work...maybe. There was some weirdness going on between different devices/OS combos. But in the end I just di

Re: RunRev 2015

2015-03-07 Thread tbodine
I've attended the conf. via online connection several times, but never in person. What do you consider to be gained by "being there" vs "seeing there"? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689827.html Sent from

Re: MasterLibrary Naming

2015-03-07 Thread Peter M. Brigham
yes (strongly), yes (not so strongly) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 7, 2015, at 1:06 PM, Michael Doub wrote: > I wanted to start a separate thread so I can track the results. Elsewhere > there was a discussion about the use of double undersco

Re: Beyond PowerStatus: Concurrency options

2015-03-07 Thread Mike Bonner
The last thing I did this way was more like a seti online type of work load. My web server is on the same machine as my LC in this case, so I had lc create individual data files for the web server to go through, used the load command to tell the web server which file it was, and turned it loose wit

Re: Valuable tip re. v7's Save As

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 9:52 AM, Richard Gaskin wrote: > I recently learned that the Save As option in v7 is even smarter than I'd > thought: > OTOH, I'm fitting it this morning. I'm using an old XP laptop while my powerbook dries out (grr!), but after saving a standalone, livecode forgets where

Re: Beyond PowerStatus: Concurrency options

2015-03-07 Thread Richard Gaskin
Mike Bonner wrote: > One very simple concurrency thing I would like to see is an optional > "to thread with message" type of syntax. This would be similar to > the way sockets are handled, if something apears in the socket, a > message is dispatched. For things like long list processing, where

Re: Text Field in LC 7

2015-03-07 Thread Richard Gaskin
Terence Heaford wrote: > On 7 Mar 2015, at 17:15, Richard Gaskin wrote: >> >> But given the range of OSes and hardware LC runs on (it supports >> more OS X versions than Apple does, and then all the others as >> well), as an an option it may be helpful on older hardware or >> when handling very l

Re: Beyond PowerStatus: Concurrency options

2015-03-07 Thread Mike Bonner
One very simple concurrency thing I would like to see is an optional "to thread with message" type of syntax. This would be similar to the way sockets are handled, if something apears in the socket, a message is dispatched. For things like long list processing, where the app doesn't need to wait

Re: MasterLibrary Naming

2015-03-07 Thread Peter Haworth
yes, either way is fine On Sat, Mar 7, 2015 at 10:09 AM Michael Doub wrote: > I wanted to start a separate thread so I can track the results. > Elsewhere there was a discussion about the use of double underscore in > the names. So I would like feedback: > > 1) should I remove the double unders

MasterLibrary Naming

2015-03-07 Thread Michael Doub
I wanted to start a separate thread so I can track the results. Elsewhere there was a discussion about the use of double underscore in the names. So I would like feedback: 1) should I remove the double underscores from the function and handlers names? and 2) should I remove the "get" from

Re: Text Field in LC 7

2015-03-07 Thread Terence Heaford
Sent from my iPad > On 7 Mar 2015, at 17:15, Richard Gaskin wrote: > > But given the range of OSes and hardware LC runs on (it supports more OS X > versions than Apple does, and then all the others as well), as an an option > it may be helpful on older hardware or when handling very large am

Valuable tip re. v7's Save As

2015-03-07 Thread Richard Gaskin
I recently learned that the Save As option in v7 is even smarter than I'd thought: Most of us already know it allows us save our stack files in any format we like, using the current v7 format by default or any legacy version going back more than a decade. But Mark Waddingham recently mention

Beyond PowerStatus: Concurrency options

2015-03-07 Thread Richard Gaskin
Now that members of the community have pulled together in such a stellar way to get a very good PowerStatus option we can use, perhaps we can go back to the original exploration that drove that discussion: concurrency. I first expressed a desire for a PowerStatus function in the older thread "

Re: Text Field in LC 7

2015-03-07 Thread Richard Gaskin
Peter Haworth wrote: I have mixed feelings about the option to not change line wrapping until a resize is over. Sounds like it would help in the situation we're discussing but it also feels like a workaround for something that should really work. Could this be connected with the use of native

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Richard Gaskin
Well done! Once I change this: constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" ...to this: constant kBatteryStatus1 = "/sys/class/power_supply/BAT1/status" ...as noted earlier, this works a treat: returns "Battery" when unplugged, and "AC" when plugged in. On my desk

Re: Text Field in LC 7

2015-03-07 Thread Peter Haworth
I like both those ideas. I have mixed feelings about the option to not change line wrapping until a resize is over. Sounds like it would help in the situation we're discussing but it also feels like a workaround for something that should really work. Could this be connected with the use of nativ

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Richard Gaskin
Peter M. Brigham wrote: > On 3/7/15 1:35 AM, Richard Gaskin wrote: >> FWIW I appreciate efforts to distinguish getters from setters >> by including "get" as part of a function name, but it becomes >> odd to read things like: >> >> get getPowerSource() >> >> Personally I believe that being a funct

Re: Text Field in LC 7

2015-03-07 Thread Richard Gaskin
Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 8:05 AM, Richard Gaskin wrote: > >> So I submitted a request for an allowTabs field property; off >> by default, when true it would allow a field to accept tabs >> the user types: >> > > Now that you men

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Richard Gaskin
Mark Wieder wrote: > Saturday, March 7, 2015, 5:55:06 AM, you wrote: > >> Both the constant declarations are identical -- the second should >> be for BAT1. You're competing with me for multiple postings with >> bugs, but I've still go you beat. :-) > > Ack! Good catch. > Although as far as I can

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 8:33 AM, Peter M. Brigham wrote: > Good point. I guess this never occurred to me because I never do "get …", > I always do "put … into varName". The "it" variable is somewhat ephemeral > if you're not careful. Even with an "ask …" I always follow it with a "put > it into va

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Peter M. Brigham
On Mar 7, 2015, at 11:12 AM, Richard Gaskin wrote: > Michael Doub wrote: > > > On 3/7/15 1:35 AM, Richard Gaskin wrote: > >> > >> What value is being added to the library user with "__"? > >> > > I originally did this because I thought it would avoid name space > > collisions. I thought that I

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Richard Gaskin
Mark Wieder wrote: > And now that I'm looking at it again, I don't think that's the proper > format for the url command. It should be > > put url "file:///sys/class/power_supply/BAT0/status" into tStatus Oddly, I find that LC's file I/O routines don't work with *NIX virtual file system elements

Re: scope of gRevAppIcon on substacks

2015-03-07 Thread Peter M. Brigham
Look under "icon." You're loading the global, and then the engine is executing the equivalent of: global gRevAppIcon set the icon of button xxx of stack "Answer Dialog" to gRevAppIcon so the rules for setting icons apply. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~

Re: Text Field in LC 7

2015-03-07 Thread Dr. Hawkins
On Sat, Mar 7, 2015 at 8:05 AM, Richard Gaskin wrote: > So I submitted a request for an allowTabs field property; off by default, > when true it would allow a field to accept tabs the user types: > > Now that you mention it, that could be insanel

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Richard Gaskin
Michael Doub wrote: > On 3/7/15 1:35 AM, Richard Gaskin wrote: >> >> What value is being added to the library user with "__"? >> > I originally did this because I thought it would avoid name space > collisions. I thought that I would receive feedback if folks > thought it was a bad idea. As y

Re: Text Field in LC 7

2015-03-07 Thread Richard Gaskin
Following up on some items from a post I made last night: > - The field's dontWrap is false, but the text isn't wrapping (IMO > this is a bug). Filed as such: Related, it occurred to me that it's sometimes annoying to have to write this handle

Re: scope of gRevAppIcon on substacks

2015-03-07 Thread Dr. Hawkins
On Fri, Mar 6, 2015 at 7:58 PM, Peter M. Brigham wrote: > From the dictionary: > > - > LiveCode looks for the specified image in the following order: > Thanks. That and Jacqui's explanation of standalones will probably solve everything (it really doesn't matter whether it gives me the imag

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Mark Wieder
Peter- Saturday, March 7, 2015, 5:55:06 AM, you wrote: > Both the constant declarations are identical -- the second should > be for BAT1. You're competing with me for multiple postings with > bugs, but I've still go you beat. :-) Ack! Good catch. Although as far as I can tell this would only a

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Peter M. Brigham
A couple of tiny points (I'm being a little obsessive here): On Mar 7, 2015, at 8:46 AM, Michael Doub wrote: > ok, a new day and another attempt. I hope we have it this time. ;-) > > on mouseup > put __getPowerSource() > end mouseup > > function __caseSwitch > /* __caseSwitch Misc > Synta

Re: RunRev 2015

2015-03-07 Thread Michael Doub
If it is on the east coast of the US, I will be there. fingers crossed. -= Mike On 3/7/15 8:44 AM, Skip Kimpel wrote: Throwing this out there... Any info on this years conference? It would be great to be able to plan for this. Then again, have it in Miami and I can attend anytime. SKIP

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Peter M. Brigham
Both the constant declarations are identical -- the second should be for BAT1. You're competing with me for multiple postings with bugs, but I've still go you beat. :-) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 7, 2015, at 8:46 AM, Michael Doub wrote:

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Peter M. Brigham
I dislike the double leading underscores, personally. Re namespace collisions: since you have built in inserting a handler into a specified object's script, perhaps you could just check that there is no handler in that script with the same name before allowing the insert, and if there is, give t

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Michael Doub
ok, a new day and another attempt. I hope we have it this time. ;-) on mouseup put __getPowerSource() end mouseup function __caseSwitch /* __caseSwitch Misc Syntax: __caseSwitch (var_to_Match,=,[=]... Examples: put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") i

RunRev 2015

2015-03-07 Thread Skip Kimpel
Throwing this out there... Any info on this years conference? It would be great to be able to plan for this. Then again, have it in Miami and I can attend anytime. SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this u

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Michael Doub
I originally did this because I thought it would avoid name space collisions. I thought that I would receive feedback if folks thought it was a bad idea. As you can see, it is extra work and it is easy for me to make a mistake. I would be happy to remove them if folks would find it more us

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Michael Doub
Thanks Mark. I cut and pasted that last attempt and did not catch the caseSwitch. -= Mike On 3/7/15 1:27 AM, Mark Wieder wrote: -- Unix, thanks to Richard Gaskin, use-LC list constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" constant kBatteryStatus1 = "/sy

Re: Power Status (was Re: Because LC can't do two things at once.)

2015-03-07 Thread Peter M. Brigham
On Mar 6, 2015, at 11:48 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > So the acid test is what works. Can someone please test it on a > > unix machine and tell us what the format for the URL should be? > > And whether all the cases for the file contents are covered? > > OS X is a ce

Auto scrollbars in DataGrid

2015-03-07 Thread Terence Heaford
I have set the horizontal scrollbar to auto. Could someone please advise if the DataGrid should show and hide the horizontal scrollbar as you live resize the stack? It only seems to work when you enlarge/reduce the width of a column in the header. Perhaps I am not understanding and missing so

RE: sqlite and iOS 8

2015-03-07 Thread Dave Kilroy
Also no problems here with sqlite and iOS - however for me the iOS simulator has recently been almost useless and I test directly on the device. However there is currently a problem with sqlite drivers on OS X http://quality.runrev.com/show_bug.cgi?id=14295 (but there is a workaround) - "Th

Re: Text Field in LC 7

2015-03-07 Thread Terence Heaford
Tested again but using 6.7.3 1. Initially stuttered (less visible because 6.7.3 performance is superior to LC 7.0.3) 2. Ticked listBehaviour and performance improved again. 3. Added vertical grid and minor improvement. All the best Terry ___ use-li

Re: Text Field in LC 7

2015-03-07 Thread Terence Heaford
> On 7 Mar 2015, at 08:09, Terence Heaford wrote: > > I originally spotted this when using modTableField and that is a field that > is contained in a group. > > That field also has it’s tab stops set with grids and is experiencing the > issue. > > I wonder what is the difference? I have em

Re: Text Field in LC 7

2015-03-07 Thread Terence Heaford
> On 7 Mar 2015, at 03:41, Richard Gaskin wrote: > > - With the original tabs in place, when I set the field's listBehavior to > true performance improves dramatically. This didn’t make much difference for me. > > - When I set the vgrid to true it improves a little more. Not bad, since