On 01/01/2019 20:39, Alex Tweedly via use-livecode wrote:
However - I'm not sure that's a very intuitive UI ("release to play"),
so I'd probably go the extra mile and do the harder one that
replicates the original UI. And that *is* harder, so I will try it out
before I say any more about it ..
Correction: you need to include more ways to turn off the dragging control:
local sColor
local sDragging
on mouseDown
put the cColor of the mouseControl into sColor
set the backcolor of the mouseControl to sColor
put true into sDragging
end mouseDown
on mouseUp
put the cColor of the mou
On 1/1/19 9:23 AM, Richmond via use-livecode wrote:
1. When one performs a mouseDown on each hexagon a tone is played.
2. While the mouse button is held down the tone continues to sound.
3. If the mouse is dragged (while being pressed) from one hexagon to the
next,
the sound changes from tha
First I would consider whether you want *exactly* that UI, or whether
something very similar would do.
If similar is OK, then I would invert the logic of the UI:
- if the mouse (pointer) is over a hexagon, and the mouse is not being
pressed - play that note, and keep playing it
- if mouse
PRESUMABLY because there was NOT an object being DRAGGED.
*Ru Paul* and All!
I don't want to DRAG an object: all I want to do is drag the mouse into
the object.
On 1.01.19 19:48, Richmond wrote:
With the left mouse button depressed I dragged into the graphic "h3" that
contained this script:
With the left mouse button depressed I dragged into the graphic "h3" that
contained this script:
ondragEnter
setthebackgroundColorofmetogreen
enddragEnter
and *NOTHING* happened.
On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since tha
Well, of course, one can mess around with "is within", except that my
poisonous mind
starts worrying about hexagons when LiveCode seems better at
understanding rectangles.
Richmond.
On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since that
Now there's a thought!
Thanks.
Richmond.
On 1.01.19 19:20, Paul Dupuis via use-livecode wrote:
You may need to look at LiveCode's drag events since that is the mouse
action you are trying to address, namely dragging from one hexagon to
another.
See the dictionary for events like dragStart,
You may need to look at LiveCode's drag events since that is the mouse
action you are trying to address, namely dragging from one hexagon to
another.
See the dictionary for events like dragStart, dragEnter, dragLeave,
dragStop, etc.
___
use-liveco
OK, OK; let's be direct and to the point:
I want to "rip off" the functionality of this web-page:
http://terpstrakeyboard.com/about/
Click on the "Play It Now!" menu item and follow through . . .
You will end up with a microtonal keyboard that has this functionality:
1. When one performs a mo
Ah, Yes . . .
Thanks so much.
Richmond.
On 29.12.18 18:52, J. Landman Gay via use-livecode wrote:
MouseDown is a message, not a function. You need:
if the mouse is down then
set the...etc.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw
MouseDown is a message, not a function. You need:
if the mouse is down then
set the...etc.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 29, 2018 9:07:37 AM Richmond via use-livecode
wrote:
This does *NOT* work:
on m
Not sure that's going to work ... if the mouse button is being held
down, you won't get a "mouseenter" event. Dict says:
If the mouse button is down when the mouse pointer enters the control,
the *mouseEnter* message is not sent unless the mouse button is released
while the pointer is still i
oopsi mean if mouse key is down :)
On Sat, Dec 29, 2018 at 10:18 AM Tom Glod wrote:
> I believe the Keysdown() function picks up the mousebutton as well. that
> will give you the info whether enter key is down.
>
> On Sat, Dec 29, 2018 at 10:06 AM Richmond via use-livecode <
> use-livecode@l
I believe the Keysdown() function picks up the mousebutton as well. that
will give you the info whether enter key is down.
On Sat, Dec 29, 2018 at 10:06 AM Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:
> This does *NOT* work:
>
> on mouseEnter
> if mouseDown then
>
This does *NOT* work:
on mouseEnter
if mouseDown then
set the backgroundColor of me to red
else
set the backgroundColor of me to green
end if
end mouseEnter
on mouseLeave
set the backgroundColor of me to white
end mouseLeave
which is a "right pox"
Richmond.
On 29.12.18
This may rank as one of the goofiest questions I've ever asked: Oh,
well, here goes:
Imagine a mosaic of faux buttons if you will.
Each of these buttons will play a tone if I drag my mouse into it:
on mouseEnter
play audioClip "x.aiff"
end mouseEnter
All well and good . . .
BUT, Richmond
17 matches
Mail list logo