Search found 5077 matches

by dunbarx
Tue Feb 20, 2018 4:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hyphenation of long words
Replies: 20
Views: 382

Re: Hyphenation of long words

Ah, I see what happened. i misunderstood what "tSize" meant. It means the length of a line.

Craig
by dunbarx
Mon Feb 19, 2018 10:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hyphenation of long words
Replies: 20
Views: 382

Re: Hyphenation of long words

Richmond.

:roll:

Craig
by dunbarx
Mon Feb 19, 2018 9:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hyphenation of long words
Replies: 20
Views: 382

Re: Hyphenation of long words

Max.

Am i misunderstanding how to use your function? I get massively truncated lines with any sort of text, and hyphens in all the wrong places.

Craig
by dunbarx
Mon Feb 19, 2018 9:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Not declaring Local Variables and script works ! why declaring them then ?
Replies: 7
Views: 161

Re: Not declaring Local Variables and script works ! why declaring them then ?

What Bogs has really spoken about is a "script local" variable, that is, a local variable that will retain its value over an entire script. I am sure you know that a script may contain many handlers, and it is among ALL the handlers in a script that such a variable will be accessible. Note that the ...
by dunbarx
Sun Feb 18, 2018 7:59 am
Forum: Feature Requests
Topic: a roundDown function
Replies: 4
Views: 87

Re: a roundDown function

As you say, existing native LC gadgetry can do this pretty easily. You do know how to use the "round" function with both positive and negative parameters, right?

I doubt whether this will get much traction in Scotland, but we will see what the community says...

Craig Newman
by dunbarx
Sun Feb 18, 2018 7:53 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: This app can't run on your PC
Replies: 3
Views: 72

Re: This app can't run on your PC

This needs to go to the team, assuming nothing unusual in your setup.

http://quality.livecode.com

Craig Newman
by dunbarx
Sat Feb 17, 2018 10:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Format Date dd/mm/yyyy in objet field
Replies: 4
Views: 100

Re: Format Date dd/mm/yyyy in objet field

What Sparkout said.

Just for grins, know that on a Mac (of course) a wider range of prehistory is available.

viewtopic.php?f=9&t=26619&p=138530&hili ... ng#p138530

Craig Newman
by dunbarx
Sat Feb 17, 2018 10:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hyphenation of long words
Replies: 20
Views: 382

Re: Hyphenation of long words

I am misunderstanding something. Is it not the case that hyphenation only need occur when the word in question is at the end of a line? And that the goal is to more evenly space the text? Or is it just that you want to hyphenate for readability? Or for fun, or some other sinister purpose? If the fir...
by dunbarx
Fri Feb 16, 2018 7:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: New to LiveCode- Issue with Documentation
Replies: 9
Views: 195

Re: New to LiveCode- Issue with Documentation

Every control has a property, "the properties". You must know, though, that this is in array form, so you would need to: on mouseUp put the properties of fld "yourtableField" into temp combine temp with return and comma replace comma with " - has a value of: " in temp answer temp end mouseUp Um, tha...
by dunbarx
Tue Feb 13, 2018 11:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting normal distributions out of random(number)
Replies: 10
Views: 225

Re: Getting normal distributions out of random(number)

How did I know that Hermann was going to be the next one to post?

Craig
by dunbarx
Tue Feb 13, 2018 9:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting normal distributions out of random(number)
Replies: 10
Views: 225

Re: Getting normal distributions out of random(number)

I re-read your post.

Is it that you want to take a normal distribution dataset, and extract values from it derived from random numbers within the distribution range? That is easy, if true.

Craig
by dunbarx
Tue Feb 13, 2018 8:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting normal distributions out of random(number)
Replies: 10
Views: 225

Re: Getting normal distributions out of random(number)

But a normal distribution is a statistical construct, and has nothing to do with generating random numbers.

On the complete other hand, if you do collect a dataset of random numbers, is that you want to create a normal distribution from them?

Craig newman
by dunbarx
Mon Feb 12, 2018 11:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Limit character number in field
Replies: 31
Views: 2637

Re: Limit character number in field

teriibi wrote... \ there is no such equivalent to "if not number"..as : Well, you can, sort of, by: if yourChar is not in "1234567890" then... You can do this sort of thing with all the types you mentioned (for example, UPPERCASE letters), and so why not write functions that you put in use in either...
by dunbarx
Mon Feb 12, 2018 11:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Looking for datagrid multi line selection advice
Replies: 4
Views: 105

Re: Looking for datagrid multi line selection advice

Klaus.

The "API" part or the handler? If the API, I get it. If the handler, and one should set the "multi Row Hilites" to true, of course, I do not.

I am posting because I know you a little and under what conditions you toss in: 8)

Craig
by dunbarx
Mon Feb 12, 2018 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Looking for datagrid multi line selection advice
Replies: 4
Views: 105

Re: Looking for datagrid multi line selection advice

Hi. In a button script:

Code: Select all

on mouseUp
   set the dgHilitedLines of grp "yourDG" to "2,3"
   end mouseup
Check out the DG API for all these gadgets.

Craig Newman

Go to advanced search