Position of Answer Dialog

Richmond richmondmathewson at gmail.com
Tue Mar 8 13:45:12 EST 2011


On 03/08/2011 08:26 PM, RevList wrote:
> Bob Sneidar<bobs at twft.com>  on March 7, 2011 at 9:14 AM -0800 wrote:
>> I asked this a couple years back myself. I believe the consensus was you
>> had to roll your own.
> Well if someone has a roll your own Answer Color dialog box then I would
> really appreciate them sharing it.
>
I don't think this is terribly complicated: I cannot stand the built-in 
Answer dialogues
[nor can I stand the spelling 'dialog' . . .  :)  ] and always roll my 
own; I have recently stopped using
substacks and started using a PNG file that consists of an 'Answer 
dialogue' picture in the centre
of an image that covers the whole parent stack set to something like 90% 
transparency [I use GIMP].

Using the 90% transparent border stops end-users from being able to 
click in areas of the stack outwith
the fake Answer dialogue.

Think of a button with a script a bit like this:

on mouseUp
   set the vis of img "BigFatQuestion" to true
end mouseUp

easy, peasy, lemon-squeezy!



More information about the use-livecode mailing list