Marching ants

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: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Marching ants

Post by erikhans08 » Tue Jun 02, 2015 5:52 pm

With the Pointer tool selected, you can click-drag to select multiple controls. With the Browse tool selected, has anyone written code to "select" controls by click-dragging?

My app "Choreographer" "bunches" buttons (with dancer images) by clicking on them, then clicking on the screen to stop the bunching. No "marching ants" just a changed button border for each selected button.

The bunched buttons are moved around with the mouseLoc. Multiple Objects - Align Objects capabilities are emulated. Also circles and curves for placing and spacing the buttons.

All button locations are "entered" for playback as a kind of animation on one card.
Problem is, the bunching is just too slow for the flow of ideas. Drawing a rectangle while bunching the enclosed objects shouldn't be too hard but I would like to see what approaches others may have come up with.

This is all non-profit with math and coding instruction in mind.

Erik Hansen

Post Reply