Re: How to move everything
Posted: Tue Mar 29, 2016 6:51 am
Hey everyone. Again
. I was hoping that I would have had good news by now, but I'm still struggling a lot with this
.
So, I've got the keyboardActivated step working, and I've got it ready to group everything to move it. The only issue is that I've got it set up like this:
(plus a bit more where I've got it moving etc, just the basics). Now the first issue is that when everything gets selected and grouped and deselected, it gets rid of the keyboard
. Is there a way I can do it and still keep the keyboard up?
The second issue is that for some reason, Jacque's advice doesn't work (even though the dictionary says it should), and doing on newGroup apparently doesn't do anything. I've got it so that it answers 1 if newGroup is activated, and it doesn't do that. I've put breakpoints and still nothing happens
. I've steps through the code, and as far as I can tell (from reading the dictionary too), it should be all good, but it doesn't
. I'm using LC 8 DP 14 if that makes a difference?
So, I've got the keyboardActivated step working, and I've got it ready to group everything to move it. The only issue is that I've got it set up like this:
Code: Select all
on keyboardActivated
repeat with i=1 to the number of controls of this card
set the selected of control i to true
end repeat
group
repeat with i=1 to the number of controls of this card
set the selected of control i to false
end repeat
end keyboardActivatedThe second issue is that for some reason, Jacque's advice doesn't work (even though the dictionary says it should), and doing on newGroup apparently doesn't do anything. I've got it so that it answers 1 if newGroup is activated, and it doesn't do that. I've put breakpoints and still nothing happens