At 16:53 11/07/2004, you wrote:
Hi all.
HEY HEY HEY :-)
I found this one on the list.
on mouseStillDown
set the loc of me to the mouseLoc
end mouseStillDown
Works absolutely perfectly. I'm on a roll now.
All the bestBob
I've been trying things for the last 3 hours on this one command and cant
seem to manage it.
I want to take an object (text field) in this type of app and move it to
another location in the same flatfile.
see http://www.gla.ac.uk/~rh82p/ide.jpg
I used the grab command but it didn't work.
I then tried to find the info in the docs and got this (after an hour)
on mousedown
if the location of button 3 is within the rect of testfield then selectIt
set the location of this card to the mouseLoc
end mousedown
Then I tried this but could not even apply it
on mouseup
move field "testfield" to the mouseLocation in 30 ticks
end mouseup
yet it was in the doc's
And tried
on mousedown
move field "testfield" to the mouseLocation in 30 ticks
end mousedown
Marianne suggested the person add in the coordinates with
repeat with j = 1 to the number of buttons
Ask "Desired vertical"
put it into v
Ask "Desired horizontal"
put it into h
set the loc of btn j to v, h
end repeat
This is useable but I really need to be able to drag the textbox and let
it go in the desired position. Note: I can do this but I want the
recipient to do this and they will not have runrev. I know I then need to
put things in a datafield but I wanted to test the script one thing at a
time. :-)
All I want to do it click on a text field and have it move to where I drag it.
Cheers
Bob; pulling what little hair he has, out. :-)
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution