Can I have a scrolling list field which can be moved
by the user?
Drag and Drop
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Drag and Drop
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Drag and Drop
Hi.
Do you mean move the field? Your title sort of indicated you wanted to move a line within that field.
Craig Newman
Do you mean move the field? Your title sort of indicated you wanted to move a line within that field.
Craig Newman
Re: Drag and Drop
Want the user to be able to move the field as itdunbarx wrote:Hi.
Do you mean move the field? Your title sort of indicated you wanted to move a line within that field.
Craig Newman
might otherwise obscure other info.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Drag and Drop
Works in the script of a list field because it (usually) has locked text.
Code: Select all
--RightClick for grabbing
on mouseDown b
if b=3 then grab me
else
-- your action
end if
pass mouseDown
end mouseDown
shiftLock happens
Re: Drag and Drop
Thanks for that. Will give it a try.
Was surprised to find on listening to
Pete Seeger again that his songs seem
to be as relevant now as they were back
in the '60s. And of course I was "there".
Was surprised to find on listening to
Pete Seeger again that his songs seem
to be as relevant now as they were back
in the '60s. And of course I was "there".
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.