Re: how to check for unnecessary local declarations?

2015-07-02 Thread Mark Wieder
On 07/02/2015 08:20 PM, Kay C Lan wrote: Which proves the point that it isn't as easy as you first made out. As you say, cracking the GLX2 code is probably the easiest route to take and I'd be surprise if that code wasn't developed over a long period of time of 'discovering' odd edge cases croppi

Re: how to check for unnecessary local declarations?

2015-07-02 Thread Kay C Lan
Which proves the point that it isn't as easy as you first made out. As you say, cracking the GLX2 code is probably the easiest route to take and I'd be surprise if that code wasn't developed over a long period of time of 'discovering' odd edge cases cropping up here and there, that Jerry never envi

Re: menu buttons and showname

2015-07-02 Thread Kay C Lan
I still can't invisage a situation where you'd want an empty option button. If in Peter's example the first btn was a list of customers, and the second button was a list of their invoices, if a customer has no invoices their name shouldn't appear in the first button. If on the the other hand the

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-02 Thread Monte Goulding
> On 3 Jul 2015, at 10:53 am, Scott Morrow wrote: > > The amount of time (and mouseclicks) mergdeploy has saved me in just one day > is fantastic! I’m with Matthias. Subscribing to your mergExt collection is a > decision I continue to be very pleased with. Thanks. Cheers Scott, if you are doi

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-02 Thread Scott Morrow
Monte, The amount of time (and mouseclicks) mergdeploy has saved me in just one day is fantastic! I’m with Matthias. Subscribing to your mergExt collection is a decision I continue to be very pleased with. Thanks. — Scott Morrow Elementary Software (Now with 20% less chalk dust!) web htt

Re: Combo Box Display Oddity

2015-07-02 Thread Paul Hibbert
Just tried on LC 6.7.6 and OS X 10.10.4 and with a little deeper testing I now see what you mean. Originally I placed a Combo Box Button over an orange coloured graphic and the ‘Box’ part stayed white while the ‘Tip’ went partially transparent when disabled, that didn’t look too bad, but, now I

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-02 Thread Bob Sneidar
In which case all your data are belonging to us. ;-) Bob S > On Jul 2, 2015, at 16:13 , Monte Goulding wrote: > > >> On 3 Jul 2015, at 12:06 am, David Bovill wrote: >> >> On this topic - what is the best way to get an entire class of learners to >> be able to put an app they create together

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-02 Thread Monte Goulding
> On 3 Jul 2015, at 12:06 am, David Bovill wrote: > > On this topic - what is the best way to get an entire class of learners to > be able to put an app they create together onto their tablet / smartphone? If they are on android you can just put it in dropbox and share the url -- M E R Gouldin

Re: menu buttons and showname

2015-07-02 Thread Bob Sneidar
Because if you don’t set the label to empty, then the name of the control is displayed as the default choice. It looks like crap, and irritated me, so as a quick fix, I set mine to empty as well. There are times when there is no default choice, that any choice is as viable as the rest. Bob S

Re: menu buttons and showname

2015-07-02 Thread Bob Sneidar
What might be handy is some kind of “useTooltipIfEmpty” property. Then the end user would not need to parse the text to eliminate the “call to action” from the real data before working with it, t hen adding the “call to action” back when done. Bob S > On Jul 2, 2015, at 08:28 , Richard Gaski

Re: Is there a shorter way?

2015-07-02 Thread Bob Sneidar
You mean textChanged don’t you? Probably just a typo. Bob S On Jul 2, 2015, at 04:13 , Peter W A Wood mailto:peterwaw...@gmail.com>> wrote: then activating its on changeText handler ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: how to check for unnecessary local declarations?

2015-07-02 Thread Bob Sneidar
Globals are problematic for me as I design stacks and cards to be modular, so two stacks with the same utility card for example, would be sharing globals. Instead, if I need persistent data, I use properties. I also do not use strict compilation. I have a naming system that prevents my ever usin

Re: how to check for unnecessary local declarations?

2015-07-02 Thread Richard Gaskin
Francis Nugent Dixon wrote: > I sleep little, and so during the night, I plan out my stack > development, even to script layout, Next morning I code, and > find that I have done much of the debugging in my head, during > the night. > > Anybody out there got any strange quirks like mine ? I've ha

Re: how to check for unnecessary local declarations?

2015-07-02 Thread Bob Sneidar
If you remove the asterisks, you would fail to find any code that uses the variable. Only lines containing *JUST* the variable name would be found, which wouldn’t work. You could add code to analyze the line by replacing “(“ and “) with space, then filter for “*” && variableName && “*”. Words at

Re: [OT] Gravatars?

2015-07-02 Thread Bob Sneidar
One world banking system anyone? I seem to recall reading about how this might come about somewhere… Bob S > On Jul 1, 2015, at 22:43 , Kay C Lan wrote: > > OK, we'll try and remember Richmond's into melons, not racks. ;-) > > Hope your money is in a bank other than Eurobank. I understand th

Re: Retrieve email and attachments from Exchange Server

2015-07-02 Thread Bob Sneidar
The problem is encryption. You can shell this, but you need to read up on how to use the command line to telnet into an exchange server, and to complicate things, Microsoft made some significant changes in how to communicate with SMTP over telnet, so there are articles strewn about the internet

Re: Combo Box Display Oddity

2015-07-02 Thread Bob Sneidar
6.7.2 on 10.10.3. Bob S > On Jul 1, 2015, at 17:54 , Paul Hibbert wrote: > > I’m not seeing this on Yosemite with LC 7.0.6 (rc3), what LC version and > system are you seeing this on? > > FWIW, I don’t see this as desired behaviour. > > Paul > >> On Jul 1, 2015, at 17:01, Bob Sneidar wrot

Re: menu buttons and showname

2015-07-02 Thread Peter Haworth
Don't think you're missing anything. The example of table/column menus doesn't illustrate the original question I had since it's pretty much impossible to have a db without tables or a table without column. Maybe a better example of the empty menu might be one menu with a list of customers and a

Re: menu buttons and showname

2015-07-02 Thread Scott Rossi
As far as there being a "correct type of control", that's open to endless debate. :-) >From what you describe, there doesn't seem to be a need for a call to action -- this was suggested simply to address the case that a selection MUST be made for things to work. Since this doesn't seem to be rele

Re: menu buttons and showname

2015-07-02 Thread Peter Haworth
Interesting observation Scott. Makes me wonder if I'm actually using the correct type of menu. For example, I might have an option menu which lists the names of tables in a database and another one that lists the columns in the selected table. There's no "call to action" in that situation (other

Re: menu buttons and showname

2015-07-02 Thread Richard Gaskin
Scott Rossi wrote: > Often, this type of control has a call to action such as "Choose an > item", as opposed an indication "No selection". It depends on the > context of your control. It does, and I wish more Web designers understood that. ;) This became popular with form designers where they

Re: menu buttons and showname

2015-07-02 Thread Scott Rossi
Often, this type of control has a call to action such as "Choose an item", as opposed an indication "No selection". It depends on the context of your control. If a selection is required in your set up, the call to action is more communicative. Otherwise, if "No selection" is a valid selection the

Re: menu buttons and showname

2015-07-02 Thread Peter Haworth
Good point. For lots of reasons, the names of my option menus aren't suitable for display to a user. Maybe the cleanest thing to do then is, if the text of the menu is empty, set its label as suggested by Richard. I like that. Most of the menus in question are under the control of a behavior so thi

Re: menu buttons and showname

2015-07-02 Thread Richard Gaskin
Peter Haworth wrote: So my technique of setting showname to false if the text is empty is the only way round this? Also, you can have a label for an option menu with empty text. Try setting the text of an option menu to empty, then use the message box to set its label to some value. With the

Re: menu buttons and showname

2015-07-02 Thread Peter Haworth
Yep, that's one of the things I've done. On Thu, Jul 2, 2015, 7:54 AM Randy Hengst wrote: > Have you tried adding a blank line to the list of options? I’ve done it > that way before… then just set the menuHistory of that option button to the > line that is blank. > > be well, > randy > > Randy H

Re: menu buttons and showname

2015-07-02 Thread Randy Hengst
Have you tried adding a blank line to the list of options? I’ve done it that way before… then just set the menuHistory of that option button to the line that is blank. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Jul 2, 2015, at 9:46 AM, Peter Haworth wrote: > > No, I s

Re: menu buttons and showname

2015-07-02 Thread Peter Haworth
So my technique of setting showname to false if the text is empty is the only way round this? Also, you can have a label for an option menu with empty text. Try setting the text of an option menu to empty, then use the message box to set its label to some value. On Wed, Jul 1, 2015, 11:18 PM J. L

Re: menu buttons and showname

2015-07-02 Thread Peter Haworth
No, I simply want an option menu with empty text display an empty label, not its name property. As mentioned in the original post, I do that now by setting showname to false if the text is empty. On Wed, Jul 1, 2015, 11:29 PM Kay C Lan wrote: > Peter, > > I agree with the other here that the beh

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-02 Thread David Bovill
On this topic - what is the best way to get an entire class of learners to be able to put an app they create together onto their tablet / smartphone? On 2 July 2015 at 06:19, Monte Goulding wrote: > > > On 1 Jul 2015, at 8:31 pm, Matthias Rebbe | M-R-D < > matthias_livecode_150...@m-r-d.de> wrot

Re: Is there a shorter way?

2015-07-02 Thread Peter W A Wood
Kay Thanks for the input. I perhaps should have explained more. I am writing a stack to test a stack. The code that I posted was setting a field in the UI of the stack being tested and then activating its on changeText handler. Regards Peter > On 2 Jul 2015, at 14:52, Kay C Lan wrote: > >

Re: Is there a shorter way?

2015-07-02 Thread Peter W A Wood
> On 2 Jul 2015, at 12:57, Scott Rossi wrote: > > Is there a reason you can't use the long id of the field? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > Thanks for the hint Scott. ___ use-livecode mailing list u

Re: Is there a shorter way?

2015-07-02 Thread Peter W A Wood
> On 2 Jul 2015, at 15:12, Mark Schonewille > wrote: > > Hi Peter, > > // put the long id into a variable > put "First Group" into Field "Company" of card "CompanyData" of stack > "ShareAnalysis" into myLongID > put the text of myLongID into mySomeText > send "textChanged" to myLongID > set t

Re: how to check for unnecessary local declarations?

2015-07-02 Thread Francis Nugent Dixon
Hi from Beautiful Brittany (where it is raining, and there is a cool breeze, while the rest of France is in the high 30’s :>)) In the same vein, I declare all my variables “global" in two ways ; the first which will remain when testing is finished (i.e.. passing info outside the script); the oth

Pull down to refresh swipe gesture

2015-07-02 Thread Skip Kimpel
Good morning, Has anybody created the "pull down to refresh" swipe gesture? I have an app where there is a refresh button on it but during testing I keep seeing users trying to pull down on the screen to achieve the function of refreshing the data. I am assuming it would need to be simulated

Re: Is there a shorter way?

2015-07-02 Thread Mark Schonewille
Hi Peter, // put the long id into a variable put "First Group" into Field "Company" of card "CompanyData" of stack "ShareAnalysis" into myLongID put the text of myLongID into mySomeText send "textChanged" to myLongID set the text of myLongID to mySomeText -- Best regards, Mark Schonewille Ec