A few words in defense of the LC dev team:
We have the first stable release, a dot-dot-release ...
And I couldn't even find in 5 minutes an arrowkey on
one of the available mobiles around!
Not sent from an iPhone.
--
View this message in context:
http://runtime-revolution.2783
But it seems the 'kindest'
explanation of why
a fair few of these things keep cropping up.
R.
On 7.05.2016 22:42, Scott Rossi wrote:
The arrowKey code has nothing to do with a change in language -- the lack
of arrowKey functionality in the IDE is just an oversight on the part of
Li
The arrowKey code has nothing to do with a change in language -- the lack
of arrowKey functionality in the IDE is just an oversight on the part of
LiveCode Ltd. (at least, I hope it is).
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 5/7/16, 12:24 PM, "use-liveco
:
>
>> If there isn't a focused object, arrowkey is supposed to be sent to the
>> card. This isn't happening in 8.
>>
>> If you place an additional object (like a scrolling list field) onto the
>> card and click it so that it has focus, and then hit the arrow ke
Glad you filed that bug report, as arrowKeys not being sent to a card would
be a real B*mmer. Thanks.
Richmond.
On 7.05.2016 22:30, Mike Bonner wrote:
If there isn't a focused object, arrowkey is supposed to be sent to the
card. This isn't happening in 8.
If you place an additio
If there isn't a focused object, arrowkey is supposed to be sent to the
card. This isn't happening in 8.
If you place an additional object (like a scrolling list field) onto the
card and click it so that it has focus, and then hit the arrow keys, your
object to move will behave as
I am beginning to wonder exactly HOW MUCH of the language has been changed,
and what justifies such change.
Richmond.
On 7.05.2016 21:56, Scott Rossi wrote:
If you want to recreate the behavior of previous versions of LC, you can
do something like this:
on arrowKey theKey
if the selObj is
If you want to recreate the behavior of previous versions of LC, you can
do something like this:
on arrowKey theKey
if the selObj is empty then pass arrowKey
put loc of the selObj into theLoc
put 1 into D
if the shiftkey is down then multiply D by 10
switch theKey
case "
NBG: Stack here: http://forums.livecode.com/viewtopic.php?f=6&t=27225
on arrowKey AWK
switch AWK
case "left"
put item 1 of the loc of img "eight" into IT1
put item 2 of the loc of img "eight" into IT2
put (IT1 - 10) into IT
Hi All,
I was going to use the arrow keys to move an object, something like what Devin
wrote up a while ago:
on arrowKey pWhich
# determine some way to designate which object is to be nudged
put the long id of btn "test" into tSelObj # for example
switch pWhich
case "
Heres my take on it. Moved most of the code to the graphic. Game loops
work so much better for this type of thing because you avoid the "arrowkey"
repeat problem entirely.
All it does is loop, look at what keys are down, and acts appropriately.
Changed the move distance to 5, and i
OOps, heres the link.
https://dl.dropboxusercontent.com/u/11957935/ANIMATION%209.5.livecode
On Sun, Apr 24, 2016 at 8:41 AM, Mike Bonner wrote:
> Heres my take on it. Moved most of the code to the graphic. Game loops
> work so much better for this type of thing because you avoid the &qu
Of course my next problem is how, when a punter presses the arrowKey to
have it "fire" only once: i.e. then chummy keeps his/her finger on the key
it doesn't continue sending arrowKey signals after the first one.
Richmond.
___
use-l
"pass arrowKey" sorted things out rather well: thanks a lot!
https://www.dropbox.com/s/5ym1zrzebsfrbyy/ANIMATION%209.5.livecode.zip?dl=0
Richmond.
On 24.04.2016 08:44, Peter Bogdanoff wrote:
Also, you might include “pass arrowKey” at the end of the script
Peter
On Apr 23, 2016, a
Also, you might include “pass arrowKey” at the end of the script
Peter
On Apr 23, 2016, at 12:49 PM, RM wrote:
> Thanks for those recommendations; will try them tomorrow as it is almost my
> bedtime
> over here in Bulgaria.
>
> Richmond.
>
> On 23.04.2016 22:31, J. Lan
Thanks for those recommendations; will try them tomorrow as it is almost
my bedtime
over here in Bulgaria.
Richmond.
On 23.04.2016 22:31, J. Landman Gay wrote:
On 4/23/2016 1:00 PM, RM wrote:
(pseudocode)
on arrowKey ArKey
if ArKey = "right" then
move object in some way
On 4/23/2016 1:00 PM, RM wrote:
(pseudocode)
on arrowKey ArKey
if ArKey = "right" then
move object in some way this line defines
send signal to object to initiate animation script within object
end if
end arrowKey
when I hit my right arrow key ONCE the object move
s has
created a problem:
if I have this sort of code in my cardScript:
(pseudocode)
on arrowKey ArKey
if ArKey = "right" then
move object in some way this line defines
send signal to object to initiate animation script within object
end if
end arrowKey
when I hit my right arr
e focusedObject = the long id of me then
>> activateLine
>>end if
>> end checkWhoIsFocused
>>
>> on activateLine
>>put the hilitedLine of me into tHilitedLine
>>if tHilitedLine <> "" then select line tHIlitedLine of me
>&g
end if
> end checkWhoIsFocused
>
> on activateLine
>put the hilitedLine of me into tHilitedLine
>if tHilitedLine <> "" then select line tHIlitedLine of me
> end activateLine
> --
>
> Kind regards
>
> Bernd
>
&g
tivateLine
put the hilitedLine of me into tHilitedLine
if tHilitedLine <> "" then select line tHIlitedLine of me
end activateLine
--
Kind regards
Bernd
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.co
Very weird. I can't get arrow keys to work with any list field if the
selection is empty. But hey, all that matters is that it works.
On Tue, Jul 21, 2015 at 1:46 PM, Peter M. Brigham wrote:
> On Jul 21, 2015, at 12:44 PM, Mike Bonner wrote:
>
> > What I mean is.. When I use tab to change focu
On Jul 21, 2015, at 12:44 PM, Mike Bonner wrote:
> What I mean is.. When I use tab to change focus between fields, the arrow
> keys do nothing in the field I tabbed into.
> When I click and select a line in the field, then the arrow keys work. In
> the former, the focusedobject correctly shows th
So creating a new list field (with the same script as the old one) and deleting
the old list field did the trick. I don't know what field property setting that
I was unaware of caused this problem. AFAIK, there should be no field property
that blocks a list field from getting arrowkey mes
Heres the bug you reported Richard:
http://quality.runrev.com/show_bug.cgi?id=13689 Going to add a note to it.
On Tue, Jul 21, 2015 at 10:55 AM, Mike Bonner wrote:
> Depends, I went back to 6.6.2. Don't know if it goes farther back than
> 5.5, but.. is this expected behavior or no?
>
> I'll see
Depends, I went back to 6.6.2. Don't know if it goes farther back than 5.5,
but.. is this expected behavior or no?
I'll see if I can locate the report real quick.
On Tue, Jul 21, 2015 at 10:50 AM, Richard Gaskin wrote:
> Mike Bonner wrote:
> > What I mean is.. When I use tab to change focus bet
On July 21, 2015 9:38:11 AM CDT, "Peter M. Brigham" wrote:
>I don't see anything in my mouseup script that would change the focus:
>
>on mouseup tBtn
> select empty
> -- putting "focus on me" here doesn't fix the problem
As a test, remove the "select empty" line and see what happens. It migh
Mike Bonner wrote:
> What I mean is.. When I use tab to change focus between fields, the
> arrow keys do nothing in the field I tabbed into.
> When I click and select a line in the field, then the arrow keys
> work. In the former, the focusedobject correctly shows the field in
> question, but has
Hey, in fact, the easiest test I can find to prove this is..
put a mouseup handler in a field with ONLY select empty.
Then try it. Boom, no arrow keys.
On Tue, Jul 21, 2015 at 10:44 AM, Mike Bonner wrote:
> What I mean is.. When I use tab to change focus between fields, the arrow
> keys do noth
What I mean is.. When I use tab to change focus between fields, the arrow
keys do nothing in the field I tabbed into.
When I click and select a line in the field, then the arrow keys work. In
the former, the focusedobject correctly shows the field in question, but
has no selectedchunk. In the lat
That's my next step.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Jul 21, 2015, at 11:26 AM, Dr. Hawkins wrote:
> Foolish question, but have you tried creating a new field from scratch,
> pasting the script, and seeing if that works?
>
> I've had to do that a c
ine x" or other work-around needed, ie, it works the way list fields
are supposed to work: just click on the field to hilite a line, then arrowkey
up or down to change the hilitedline.
Still a mystery. I may need to delete the field and replace it with a copy of
my working field from the o
Foolish question, but have you tried creating a new field from scratch,
pasting the script, and seeing if that works?
I've had to do that a couple for times when some exotic and non-displayed
property or another got set.
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
Having a line hilited isn't enough. It seems you MUST have an insertion
point of some type. Either select the line lineNbr, or if there is nothing
selected, set the selectedchunk to char 1 to 0 of me
On Tue, Jul 21, 2015 at 8:38 AM, Peter M. Brigham wrote:
> On Jul 21, 2015, at 2:07 AM, Kay C
both have their listbehavior
> set to true -- in fact, AFAICS all their basic properties are the same. I
> have no arrowkey handlers in any scripts in the misbehaving stack.
>
> Ideas?
>
> -- Peter
>
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast
On Jul 21, 2015, at 2:07 AM, Kay C Lan wrote:
> On Mon, Jul 20, 2015 at 11:17 AM, Peter M. Brigham wrote:
>
>>
>> Having found that the focus is on the card, for reasons best known to the
>> engine (certainly not to me),
>>
>
> What does the Message Watcher say? If on clicking on a line in th
gt;
> On 7/20/2015 1:47 PM, Peter Brigham wrote:
>> Unfortunately, I still get nothing with "the hilitedlines of me" in the
>> field script. The arrowkey message is not going to the field.
>>
>> Here's the arrowkey handler in the card script. This works fine b
On Mon, Jul 20, 2015 at 11:17 AM, Peter M. Brigham wrote:
>
> Having found that the focus is on the card, for reasons best known to the
> engine (certainly not to me),
>
What does the Message Watcher say? If on clicking on a line in the fld
fires a salvo of messages, somewhere - frontscript, bac
But did you try a mouseUp handler? I'm curious if the field is
recognized in any way.
On 7/20/2015 1:47 PM, Peter Brigham wrote:
Unfortunately, I still get nothing with "the hilitedlines of me" in the
field script. The arrowkey message is not going to the field.
Here's the
"the hilitedlines of me" in the
> field script. The arrowkey message is not going to the field.
>
> Here's the arrowkey handler in the card script. This works fine but I don't
> know why it should be necessary.
>
> on arrowkey what
>put hilitedlin
Unfortunately, I still get nothing with "the hilitedlines of me" in the
field script. The arrowkey message is not going to the field.
Here's the arrowkey handler in the card script. This works fine but I don't
know why it should be necessary.
on arrowkey what
put hilitedli
On 7/19/2015 10:17 PM, Peter M. Brigham wrote:
There is a line selected. If I put the following into the field script:
on arrowkey
put the hilitedlines
end arrowkey
then click in the field to select a line, then hit up- or
down-arrowkey, nothing happens. The field is apparently not
up and down, it doesn't
> > work. (6.7.6) When you tab into a list field, the hilite remains, but
> there
> > is no selection in the field. IE no insertion point, so the arrow keys
> > don't work.
>
> Not using tab to select into the field. Clicking on the line,
e
> is no selection in the field. IE no insertion point, so the arrow keys
> don't work.
Not using tab to select into the field. Clicking on the line, it gets selected,
then arrowkey does nothing.
> I've found that if you select the hilited line as you tab into the field it
>
irection to solve it would be to catch the arrowkey message in the
field, and if there is a hilite, but no lines selected, select the hilited
line then pass arrowkey. If there are no lines selected, and no hilites,
select and hilite the first line. If I understand correctly, the second
part should only
The Up and Down arrow keys move
the selection up or down." I have a similar field in another stack that works
exactly as expected. The two fields both have their listbehavior set to true --
in fact, AFAICS all their basic properties are the same. I have no arrowkey
handlers in any script
A reminder that the Scripter's Scrapbook is designed to do exactly this...
www.ssbk.co.uk
or
http://www.runrev.com/store/product/scripters-scrapbook-1-0-0/
And if you want a 'Socks' category, you can have that too!
Hugh Senior
FLCo
On Dec 20, 2011, at 7:04 AM, Mike Bonner wrote:
> I saw th
Nope, it's mine. I hope at least it got to you *after* it went through my wash
cycle If not, I apologize. I'm definitely putting in an enhancement request
to the QC to extend the find command to socks. I bet Scott Raney anticipated
the need and built it into an obscure corner of the engine s
On 12/20/11 10:07 AM, Bob Sneidar wrote:
Jacque was wearing it yesterday, along with a white kneehigh with
blue and red stripes.
I found it in my sock drawer. I thought it was yours.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://w
Is there some reason not to do it this way?:
on arrowkey which
put the loc of button "square" into tRect
switch which
case "left"
subtract 1 from item 1 of tRect
break
case "right"
add 1 to item 1 of tRect
Jacque was wearing it yesterday, along with a white kneehigh with blue and red
stripes.
Bob
On Dec 20, 2011, at 6:31 AM, Peter M. Brigham, MD wrote:
> Yeah, me too -- as one of my patients once said to me, "I have a mind like a
> steel sieve." I save lots of tips from this list in a stack I'
ivial as "get the
>> mouse" or "get the optionKey".
>> However your script works fine.
>> Thanks a lot
>> Paolo
>>
>> On Mon, Dec 19, 2011 at 5:28 PM, Mike Bonner wrote:
>> > I'm sure this doesn't cover every possibility but
I gave up on socks years ago. They're not worth the temporal disturbance.
On Tue, Dec 20, 2011 at 7:31 AM, Peter M. Brigham, MD wrote:
> On Dec 20, 2011, at 7:04 AM, Mike Bonner wrote:
>
> > I saw the other input for this problem, I'm thinking that checking
> > "keysdown()" for the arrow keycodes
On Dec 20, 2011, at 7:04 AM, Mike Bonner wrote:
> I saw the other input for this problem, I'm thinking that checking
> "keysdown()" for the arrow keycodes would be a more reliable solution
> depending on your needs.
>
> I swear I keep learning new things on this list and in the forums. Luckily
>
r script works fine.
> Thanks a lot
> Paolo
>
> On Mon, Dec 19, 2011 at 5:28 PM, Mike Bonner wrote:
> > I'm sure this doesn't cover every possibility but will something like the
> > following work?
> >
> > -- in the card I put
> > on arrowKey pKey
sn't cover every possibility but will something like the
> following work?
>
> -- in the card I put
> on arrowKey pKey
> set the cKeyDown of this stack to pKey
> pass arrowKey
> end arrowKey
>
> on rawKeyUp pKey
> if pKey is among the items of "65361
On Dec 19, 2011, at 6:51 AM, paolo mazza wrote:
> Hi All,
> how can I check if the "arrowKey up" is down or is up ?
>
> For example, for the option Key I can write .. if the optioKey is down
> then..., for the mouse I can write ... if the mouse is down then ...
>
I'm sure this doesn't cover every possibility but will something like the
following work?
-- in the card I put
on arrowKey pKey
set the cKeyDown of this stack to pKey
pass arrowKey
end arrowKey
on rawKeyUp pKey
if pKey is among the items of "65361,65362,65363,65364&quo
Hi All,
how can I check if the "arrowKey up" is down or is up ?
For example, for the option Key I can write .. if the optioKey is down
then..., for the mouse I can write ... if the mouse is down then ...
What about the arrow keys ?
All the b
59 matches
Mail list logo