Changing the background of an Answer Dialog

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Changing the background of an Answer Dialog

Post by Simon » Tue May 27, 2008 1:33 am

Hello,
I had found script that allowed me to set a background image for the answer dialog box, but now I've lost it.

Does anyone know how to do this?

Thanks,
Simon

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue May 27, 2008 11:37 pm

Simon,

set the backgroundPattern of cd 1 of stack "Answer Dialog" to <id number>

(untested, but should work)

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

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

Post by Simon » Wed May 28, 2008 12:45 am

Works Great!

Thanks again Mark.

Post Reply