Detecting mouseup's...
Posted: Mon Sep 15, 2014 9:44 am
Hi,
I'm stumped again...
For simplicity; I have 2 text input fields on a card and I'm trying to make, the background colour of field 1 change when field 2 is selected.
Seems simple...
I add two scripts to my fields
and
When I click in either of the fields neither message gets fired...
Well... that's only partially true... When I 'normal' click / 'left' click - nothing happens...
but when I 'menu' click / 'right' click - my messages appear.
Is this correct behaviour ? and, if so, how does one 'catch' traversal from one field to another following a 'normal'/ 'left' click (excepting focusin/out, open/closefield etc).
Secondly (it is related - honest !) Traversal - is TraversalOn only available through script or am I missing an option someplace in the Property Inspector
I'm stumped again...
For simplicity; I have 2 text input fields on a card and I'm trying to make, the background colour of field 1 change when field 2 is selected.
Seems simple...
I add two scripts to my fields
Code: Select all
on mouseup
answer "MouseUp" --This would normally be my field colour-change code
end mouseup
Code: Select all
on mousedown
answer "MouseDown" --This would normally be my field colour-change code
end mousedown
Well... that's only partially true... When I 'normal' click / 'left' click - nothing happens...
but when I 'menu' click / 'right' click - my messages appear.
Is this correct behaviour ? and, if so, how does one 'catch' traversal from one field to another following a 'normal'/ 'left' click (excepting focusin/out, open/closefield etc).
Secondly (it is related - honest !) Traversal - is TraversalOn only available through script or am I missing an option someplace in the Property Inspector