Re: Mobile slider control

2019-03-21 Thread J. Landman Gay via use-livecode
For scrollbars I use scripted native (i.e., mobile) scrollers. You can 
set them to show their scrollbars or not.


Indetermine progress bars can be replaced by the LC spinner widget, and 
an animated gif also works well. For determinate progress bars, it isn't 
too hard to create a graphic that grows in width periodically. I also 
like Android's determinate progress bar, though I haven't tried to 
reproduce it yet:



Little arrows aren't seen on mobile much. On iOS they are replaced with 
"steppers" which could be created using LC's segmented control pretty 
easily:



On Android, increment counters are usually just plus and minus buttons 
on either side of the control or field they affect. If you do an image 
search on "android increment counter" you can see examples. Here's one:




On 3/21/19 6:34 PM, Devin Asay via use-livecode wrote:


So native LiveCode scrollbars (sliders, progress bars, and little arrows) look 
really bad on mobile devices. Has anyone produced a widget or just a scripted 
replacement for them?

Thanks,

Devin


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode

On 3/21/19 7:42 PM, Robert Brenstein via use-livecode wrote:

Wow! Which versions of LiveCode is this baby compatible with?


The LC8 and LC9 series. Before that the IDE doesn't have proper hooks or 
the subscribe mechanism to support the plugin mechanics.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Mobile slider control

2019-03-21 Thread Roger Guay via use-livecode
I have a utility called ScrollbarOmatic on LC Sample Stacks that might give you 
ideas.

Roger

> On Mar 21, 2019, at 4:34 PM, Devin Asay via use-livecode 
>  wrote:
> 
> Hi all,
> 
> So native LiveCode scrollbars (sliders, progress bars, and little arrows) 
> look really bad on mobile devices. Has anyone produced a widget or just a 
> scripted replacement for them?
> 
> Thanks,
> 
> Devin
> 
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Robert Brenstein via use-livecode

Wow! Which versions of LiveCode is this baby compatible with?

On 20 Mar 2019, at 18:45, Mark Wieder via use-livecode wrote:


Announcing (60 days until the San Jose conference):

Script Editor Refactor Plugin
Brings refactoring support to the LiveCode Script Editor.
Place the plugin into your user Plugins folder.
After launching the script editor there will be a new Refactoring 
menuItem in the Edit menu.
The Refactoring menuItem will also appear in the contextual menu 
of the Script Editor.
The Refactoring menu is inspired by the JetBrains refactoring 
support in RubyMine, etc.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode

On 3/21/19 8:51 AM, Bob Sneidar via use-livecode wrote:

And another. Find Orphans flags all the values as unused constants in a 
constant declaration. Example:

constant cExcludedWords = 
"inc,incorporated,corp,corporation,co,comp,company,llc,llp,ltd"

produces a flag for "inc" "Incorporated" etc.


Ouch. Thanks. fixed on github.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode

On 3/21/19 3:41 AM, AndyP via use-livecode wrote:

This is outstanding..what a contribution to the community.

Found  one problem though..


No close/dismiss button.


Thanks. fixed on github.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Mark Wieder via use-livecode
Thanks to a suggestion from Mikey, the refactor plugin has been removed 
from SampleStacks/LiveCodeShare and now lives at


https://github.com/mwieder/revRefactor

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Mobile slider control

2019-03-21 Thread Devin Asay via use-livecode
Hi all,

So native LiveCode scrollbars (sliders, progress bars, and little arrows) look 
really bad on mobile devices. Has anyone produced a widget or just a scripted 
replacement for them?

Thanks,

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Localisation - Internationalization Package

2019-03-21 Thread Richard Gaskin via use-livecode

R.H. wrote:

> Dear Richard
>
> Thanks a lot for the input regarding the dateFormat function. Very
> nice.
>
> To add: It is also helpful to
>
> ... set the useSystemDate to true...
>
> and then also the local date format such as dd.mm. evaluates to
> true when asking if it is a date, or not.

The useSystemDate global property is very helpful in many contexts, but 
as you wrote earlier it's difficult to use it to understand the local 
format because it outputs only results from the local format, but 
doesn't tell us the underlying pattern used to create that output.


The example you raised with month and day combos differing between 
regions is a good one:


Is "2/4/19" describing April 2 or February 4?

We can guess, and hope that we're right, but it's a crap shoot.

When the team added the dateFormat function, now we have a chance to see 
not just the output from the local format, but to understand its definition.


In some ways this is better, certainly more specific, than guessing the 
format by attempting to determine the local geographic region, because 
even if the user has chosen system settings that may differ from 
regional norms the dateFormat will reflect the user's current choices, 
obtained directly from those system settings.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: A Question about Ask File

2019-03-21 Thread Roger Guay via use-livecode
Yeah, I know…..

> On Mar 21, 2019, at 7:46 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> It is ALWAYS the developer's fault. ;-)
> 
> Bob S
> 
> 
>> On Mar 20, 2019, at 19:37 , Roger Guay via use-livecode 
>>  wrote:
>> 
>> Yes, you are so right!  I found my problem: Some of my filenames had slashes 
>> in them which created confusion for the filePath. Once I got rid of the 
>> slashes, everything worked as one would expect. BTW, it’s not really my 
>> fault . . . I didn’t put the slashes in the names . . .  my customer did. 
>> Swine customer!!
>> 
>> Roger
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Bob Sneidar via use-livecode
And another. Find Orphans flags all the values as unused constants in a 
constant declaration. Example:

constant cExcludedWords = 
"inc,incorporated,corp,corporation,co,comp,company,llc,llp,ltd"

produces a flag for "inc" "Incorporated" etc. 

Bob S

> On Mar 21, 2019, at 03:41 , AndyP via use-livecode 
>  wrote:
> 
> This is outstanding..what a contribution to the community.
> 
> Found  one problem though..


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: A Question about Ask File

2019-03-21 Thread Bob Sneidar via use-livecode
It is ALWAYS the developer's fault. ;-)

Bob S


> On Mar 20, 2019, at 19:37 , Roger Guay via use-livecode 
>  wrote:
> 
> Yes, you are so right!  I found my problem: Some of my filenames had slashes 
> in them which created confusion for the filePath. Once I got rid of the 
> slashes, everything worked as one would expect. BTW, it’s not really my fault 
> . . . I didn’t put the slashes in the names . . .  my customer did. Swine 
> customer!!
> 
> Roger

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Localisation - Internationalization Package

2019-03-21 Thread Klaus major-k via use-livecode
Hi all,

> Am 21.03.2019 um 14:42 schrieb R.H. via use-livecode 
> :
> 
> Dear Richard
> 
> Thanks a lot for the input regarding the dateFormat function. Very nice.
> To add: It is also helpful to
> ... set the useSystemDate to true...
> ...
> So, internationalization is a strong need in business application
> development.

currently System Date etc. is still NOT supported on Android:


> Thanks to all for contributions
> Roland

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Localisation - Internationalization Package

2019-03-21 Thread R.H. via use-livecode
Dear Richard

Thanks a lot for the input regarding the dateFormat function. Very nice.

To add: It is also helpful to

... set the useSystemDate to true...

and then also the local date format such as dd.mm. evaluates to true
when asking if it is a date, or not.

The problem here is that thinking about different formats on different
local systems with different users who may wish to see their preferred
date/time or number formats, unifying all this under the hood may sometimes
be very important.

It is a many-to-many relationship. Looking a decimal numbers as an example:
You receive various formats of decimal numbers and must convert them to
various other formats of decimal numbers in real-time within your
application. So, you need a common ground connecting both.

That is why an internal format (system format based on how LiveCode handles
dates, numbers by default) is needed, avoiding the programmatic use of
date/time/number representations that are user level representations. Here
we have "seconds" or "dateitems" and plain text representations of numbers.

One additional remark: For translations, I have set up a separate
independent stack that allows entering, editing and displaying the content
of translation arrays (or files, lists, whatever you use for translated
strings) in which I store all translations.

Very often good and correct translations depend on context. Just
translating a term does not mean that the translated term will fit the
context for a given user interface. For such cases, I also supply a
screenshot to the translator and have it stored in the array as well, or I
describe the context with some more details.

Use descriptive keys identifying content to be translated (I use English
text strings), not numbers. Otherwise, you have to always look up what
means what.

My application is used by a large corporation that has divisions, and it is
multilingual and multi-client and therefore also muli-"locale" for the
configuration of a technical product. Users are from at least 10 different
countries using 10 different languages and different date/time and number
formats for presentation and input.

So, internationalization is a strong need in business application
development.

Thanks to all for contributions
Roland
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread AndyP via use-livecode
This is outstanding..what a contribution to the community.

Found  one problem though..

 

No close/dismiss button.



-
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE  a Free alternative minimalist IDE Plugin for LiveCode 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Andre Garzia via use-livecode
this is just TOO AWESOME One of the things I always complained is
the lack of refactoring support. Thanks a ton my friend.

On Thu, Mar 21, 2019 at 2:48 AM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 3/20/19 2:53 PM, Mark Wieder via use-livecode wrote:
>
> > Here's a scenario that will probably break:
> > (save your work first)
>
> Heh. In trying to fix that, I broke it more, so I just uploaded version
> 2. Fun stuff, eh?
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode