Search found 6807 matches

by jacque
Fri Mar 15, 2024 7:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using field with "answer" dialog open
Replies: 26
Views: 561

Re: Using field with "answer" dialog open

The dictionary suggests using selectionChanged to catch clicks in an unlocked field.
by jacque
Fri Mar 15, 2024 5:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using field with "answer" dialog open
Replies: 26
Views: 561

Re: Using field with "answer" dialog open

Do you want to delete a line when the user clicks it? The clickline function will tell you which line was clicked so you won't need a dialog. See "clickline" in the dictionary.
by jacque
Mon Mar 11, 2024 6:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: find word
Replies: 4
Views: 237

Re: find word

LC finds words by looking for spaces between words. If there is no space after a bracket then LC thinks the bracket is part of the word. I'm not sure if this will work, but try "find trueword" instead of "find word". It isn't in the dictionary but it might work. The keyword "trueword" ignores punctu...
by jacque
Sun Mar 10, 2024 6:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Missing Fonts
Replies: 37
Views: 1325

Re: Missing Fonts

If I remember right, LC only shows the family name in the Font menu, which isn't necessarily the name of the individual variations. Look at the font in a font utility to see the actual names of the different styles and assign your controls with those. LC says if you set text to bold, for example, an...
by jacque
Mon Mar 04, 2024 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling from a remembered vScroll position on mobile
Replies: 9
Views: 3293

Re: Scrolling from a remembered vScroll position on mobile

Here's an explanation: https://lessons.livecode.com/m/4069/l/9 ... ll-a-field

Setting the enclosing group's layermode to "scrolling" will allow it to work with acceleratedRendering.
by jacque
Fri Mar 01, 2024 6:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2176

Re: Click and/or drag ?

Because DRAGDELTA will affect the DRAG commands but not the GRAB command. These two are completely different things. My first attempt used "set the loc of me to the mouseloc" instead of using grab, which was smooth enough on my Mac, but then I noticed that grab calculated the mouse offset automatic...
by jacque
Fri Mar 01, 2024 6:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2176

Re: Click and/or drag ?

richmond62 wrote:
Fri Mar 01, 2024 9:24 am
How the fudgums is chummy, the newbie, going to find out stuff like that?
By typing "drag" into the dictionary search field? Or looking at the "related" entry?
by jacque
Thu Feb 29, 2024 8:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click and/or drag ?
Replies: 58
Views: 2176

Re: Click and/or drag ?

Similar but a bit shorter: local sDragging on dragStart put true into sDragging end dragStart on mouseMove if sDragging then grab me end mouseMove on mouseUp if not sDragging then -- do click stuff end if put false into sDragging end mouseUp The default dragDelta is 4 so you probably don't need to c...
by jacque
Wed Feb 21, 2024 8:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird can't redraw chart problem - solved
Replies: 6
Views: 591

Re: Weird can't redraw chart problem - solved

There's a "redraw" item in the Glossary portion of the Dictionary window.
That makes more sense. And here I was about to get all excited.
by jacque
Wed Feb 21, 2024 6:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Weird can't redraw chart problem - solved
Replies: 6
Views: 591

Re: Weird can't redraw chart problem - solved

I don't see a redraw command in the dictionary. I do see three commands that are either inactive or apply only to specific controls like the (deprecated) Browser.
by jacque
Sun Feb 18, 2024 6:41 pm
Forum: Games
Topic: Valentine Gadget
Replies: 10
Views: 817

Re: Valentine Gadget

LC creates a temporary signing certificate when you build a standalone with "sign for development" but it only works for you. Others won't be able to open the app until it's signed and notarized, unless they manually approve it in system prefs.
by jacque
Sat Feb 17, 2024 9:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where did the Quick Search button in the Script Editor Go?
Replies: 10
Views: 654

Re: Where did the Quick Search button in the Script Editor Go?

When the Search feature disappears from the bottom of my script editor window it invariably requires a new preferences file. I keep some already customized backups handy to save time since this happens with more regularity than seems reasonable... but with no recipe that I can see (yet.) The recipe...
by jacque
Tue Feb 13, 2024 7:14 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 29
Views: 1783

Re: Code folding for Livecode 9.6.9 and up

Wow! Fantastic.
by jacque
Tue Feb 13, 2024 6:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Button press every 3 seconds without freezing?
Replies: 7
Views: 620

Re: Button press every 3 seconds without freezing?

😂
What would I do without you guys. The seriousness and depth of your contributions is uplifting.
by jacque
Sat Feb 10, 2024 6:09 pm
Forum: Talking LiveCode
Topic: I am far too bold
Replies: 26
Views: 1779

Re: I am far too bold

And all the subStacks as well? Yes. If you set the mainstack text styles and not anything else in the hierarchy, substacks will inherit the text styling from the mainstack. I do this when I want to change the font or font size for everything in a stack file. I can then change individual styles in f...

Go to advanced search