lock objects from being dragged out of the screen

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: heatherlaine, Klaus, FourthWorld, kevinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 2712
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: lock objects from being dragged out of the screen

Post by richmond62 » Thu Dec 21, 2017 1:56 pm

locking the screen during the move
might make it very difficult for the mover to see the movement.

bogs
Posts: 2184
Joined: Sat Feb 25, 2017 10:45 pm

Re: lock objects from being dragged out of the screen

Post by bogs » Thu Dec 21, 2017 2:55 pm

Yah, I thought so too initially, but really not so much. It did tend to help in evening out the bobbing effect, just not as much as I had hoped.
Image

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 222
Joined: Mon Mar 01, 2010 7:13 pm
Location: London, UK

Re: lock objects from being dragged out of the screen

Post by thatkeith » Mon Jan 15, 2018 8:56 pm

bogs wrote:
Thu Dec 21, 2017 1:42 pm
What I actually found eliminates that is -1, as in (from a remembered conversation with Jacque in a thread far away)
Great stuff! I still can't agree that anything I've seen is as elegant (in the 'simple elegance' sense) as the SuperCard ability, but I can see a lot of flexibility and power in the various alternative LiveCode methods. This 'send in -1' trick is very cool.

You asked why I didn't use a slider or similar object. I did look at this, but it didn't fit the way I wanted this interface to work. I used one of the techniques posted here, and people seem to find the end result very clear. And yes, it is to do with panoramic image production. :)

Image
Senior Lecturer, LCC (University of the Arts London)
Technical Editor, MacUser (1996-2015)
President, IVRPA.org

bogs
Posts: 2184
Joined: Sat Feb 25, 2017 10:45 pm

Re: lock objects from being dragged out of the screen

Post by bogs » Tue Jan 16, 2018 3:45 am

Good to hear you came up with a workable solution :D
Image

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”