resizing background

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
pidobearBUSsb9q
Posts: 34
Joined: Fri Jul 13, 2012 8:40 am

resizing background

Post by pidobearBUSsb9q » Mon Jul 16, 2012 4:31 am

Hi

I have a problem when i follow the tutorial.

was told to set this

set the width of image "background" to me to tstackWidth
set the height of image "background" to me to tstackHeight
set the topLeft of image "background" to me to 0,0

but got this error when i try to resize

card "list": execution error at line n/a (Object: property is not an integer) near "card "list"

thank in advance :)

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: resizing background

Post by sturgis » Mon Jul 16, 2012 4:46 am

One problem I notice is that it should be "of me" not "to me"

Also make sure your variables tStackWidth and tstackHeight are integers.

pidobearBUSsb9q
Posts: 34
Joined: Fri Jul 13, 2012 8:40 am

Re: resizing background

Post by pidobearBUSsb9q » Mon Jul 16, 2012 8:02 am

sturgis wrote:One problem I notice is that it should be "of me" not "to me"

Also make sure your variables tStackWidth and tstackHeight are integers.

I have fixed it thanks so much

Post Reply