Search found 3586 matches

by richmond62
Fri Oct 18, 2019 8:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 12
Views: 271

Re: Preventing duplicate input

Well: the above was largely rubbish.

But this seems to work:

Code: Select all

on keyDown KD
switch KD
case "1"
  send "mouseDown" to btn "Key1"
      exit to top
  break
  default
     pass keyDown
end switch
end keyDown
-
KrepeatBlocker.jpg
-
by richmond62
Fri Oct 18, 2019 6:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 12
Views: 271

Re: Preventing duplicate input

Possibly bonkers: on keyDown KD switch KD case "1" if enableKey1 is "false" then pass keyDown else send "mouseDown" to btn "Key1" set enableKey1 to "false" end if break default pass rawKeyDown end switch end keyDown Sorry: just made this up "off the top of my head" as getting ready for work and no t...
by richmond62
Wed Oct 16, 2019 6:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mark menu item as checked
Replies: 12
Views: 359

Re: Mark menu item as checked

https://quality.livecode.com/show_bug.cgi?id=22413

"There we are."

Which must rank as one of the most ridiculous and meaningless phrases there is in English. 8)
by richmond62
Tue Oct 15, 2019 10:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mark menu item as checked
Replies: 12
Views: 359

Re: Mark menu item as checked

Screenshot 2019-10-16 at 0.04.52.png
Screenshot 2019-10-16 at 0.04.52.png (6.93 KiB) Viewed 330 times
oink.jpg
oink.jpg (7.35 KiB) Viewed 330 times
-
Seems a slightly long-winded way of doing something that seems to have been done in a simpler way in HyperCard.
by richmond62
Tue Oct 15, 2019 9:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mark menu item as checked
Replies: 12
Views: 359

Re: Mark menu item as checked

Being "clever" I tried this:

Code: Select all

on menuPick itemPicked
   set the checkmark of itemPicked to true
end menuPick
But that was because I was silly and didn't read THIS first:
-
Screenshot 2019-10-15 at 23.39.38.png
-
Mind you: it might "be lovely" if it were re-introduced into LiveCode.
by richmond62
Mon Oct 14, 2019 10:09 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to stop Answer Dialog from displaying "answer dialog" ?
Replies: 21
Views: 562

Re: How to stop Answer Dialog from displaying "answer dialog" ?

This: --title if item 2 of the dialogData is empty then set the title of this stack to space else set the title of this stack to item 2 of the dialogData put item 3 of dialogData into tText if "<p>" is in tText or matchChunk(tText, "<(.+>.+</.+)>") then set the htmlText of field 1 of me to tText els...
by richmond62
Mon Oct 14, 2019 9:18 am
Forum: Educational Outreach
Topic: Primary Student Livecode Interface (Simplified Developer Interface)
Replies: 26
Views: 680

Re: Primary Student Livecode Interface (Simplified Developer Interface)

I lay awake most of last night agonising HOW to get at the properties of the revTools stack that allow it to;

1. Wax and Wane:
-
fatty.png
-
2. Shrink and Grow:
-
shrink.png
by richmond62
Mon Oct 14, 2019 9:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to stop Answer Dialog from displaying "answer dialog" ?
Replies: 21
Views: 562

Re: How to stop Answer Dialog from displaying "answer dialog" ?

nowhere near 1/2 second, maybe a tick or two Well, we have no way of knowing the type of machine the OP is using. If it is a "steam driven" machine from 15 years ago things probably work a lot more slowly than something a bit more contemporary. The time that inconvenient title is displayed for is p...
by richmond62
Sun Oct 13, 2019 8:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to stop Answer Dialog from displaying "answer dialog" ?
Replies: 21
Views: 562

Re: How to stop Answer Dialog from displaying "answer dialog" ?

Can't see it on Kubuntu KDE Plasma.

HOWEVER Klaus's brilliant suggestion would seem the way forward:

Code: Select all

on mouseUp
   answer "Fried Fish" titled "Melted Cheese"
end mouseUp
-
Screenshot_20191013_223751.png
Screenshot_20191013_223751.png (8.7 KiB) Viewed 289 times
-
So set your title to " ". 8)
by richmond62
Sat Oct 12, 2019 5:24 pm
Forum: Educational Outreach
Topic: Primary Student Livecode Interface (Simplified Developer Interface)
Replies: 26
Views: 680

Re: Primary Student Livecode Interface (Simplified Developer Interface)

I just made a stack/palette with limited buttons.
I am trying to make a settings palette so that a teacher can configure a setup for
a specific class the way they want it.
by richmond62
Sat Oct 12, 2019 5:13 pm
Forum: Educational Outreach
Topic: Primary Student Livecode Interface (Simplified Developer Interface)
Replies: 26
Views: 680

Re: Primary Student Livecode Interface (Simplified Developer Interface)

I keep all my LiveCode installs in a folder inside my Home folder called "LC". on the Macintoshes I deploy on.

Over here, where I currently am (Kubuntu KDE Plasma Arty Tarty) there is no problem with Apple's
"chastity belt."
by richmond62
Sat Oct 12, 2019 5:09 pm
Forum: Educational Outreach
Topic: Primary Student Livecode Interface (Simplified Developer Interface)
Replies: 26
Views: 680

Re: Primary Student Livecode Interface (Simplified Developer Interface)

widgetGuff.png
-
Just does not work.
-
Screenshot_20191012_190740.png
Screenshot_20191012_190740.png (9.41 KiB) Viewed 180 times
-
How does one address this?
by richmond62
Sat Oct 12, 2019 9:33 am
Forum: Educational Outreach
Topic: Primary Student Livecode Interface (Simplified Developer Interface)
Replies: 26
Views: 680

Re: Primary Student Livecode Interface (Simplified Developer Interface)

Why send mouseup twice?
Aye, well that does sound a bit daft . . . but . . .

The stack "TB" has the buttons saved in the condition they were in when last
used, so, if, mouseUp were sent up only once the revTools stack would end
up in exactly the reverse configuration to that saved.
by richmond62
Fri Oct 11, 2019 1:28 pm
Forum: Educational Outreach
Topic: Primary Student Livecode Interface (Simplified Developer Interface)
Replies: 26
Views: 680

Re: Primary Student Livecode Interface (Simplified Developer Interface)

A real pain-in-the-bum is how to get at these and their commands as they are a widget:
-
widge.png
widge.png (30.09 KiB) Viewed 266 times

Go to advanced search