Placing an image at an exact location

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
abanowBUSTfGf
Posts: 63
Joined: Sat Dec 22, 2012 3:01 am

Placing an image at an exact location

Post by abanowBUSTfGf » Sat Feb 02, 2013 4:34 am

How can I place an image with the top left-hand corner at an exact point?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Placing an image at an exact location

Post by Simon » Sat Feb 02, 2013 5:09 am

Code: Select all

  set the topLeft of img "myImage" to tPixelLeft,tPixelTop
where tPixelLeft is the distance from the left of the stack
and tPixelTop is the distance from the top of the stack


Simon
Edit: too easy
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply